Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Margin/Padding in the shopping cart sidebox

Margin/Padding in the shopping cart sidebox

Views: 693

Results 1 to 2 of 2
25 Nov 2011, 10:24 AM
#1
mattk251285 avatar

mattk251285

New Zenner

Join Date:
Nov 2011
Posts:
38
Plugin Contributions:
0

Margin/Padding in the shopping cart sidebox

Hi

I have editted the shopping cart summary (sidebox). For some reason after trying the list of cart contents displays with a margin to the left. I inspected this with google and it appears that there is the following style applied to this list

ul, menu, dir {
display: block;
list-style-type: disc;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
-webkit-padding-start: 40px;
}

The incriminating bit of code is the -webkit-padding-start: 40px;

Does anyone know how to override this or why this would be happening??

I have tried overiding with the following:

ul, menu, dir {
margin: 0px;
padding: 0px;
}

and

* {
margin: 0px;
padding: 0px;
}

But this does not have any effect.

25 Nov 2011, 11:02 AM
#2
mattk251285 avatar

mattk251285

New Zenner

Join Date:
Nov 2011
Posts:
38
Plugin Contributions:
0

Re: Margin/Padding in the shopping cart sidebox

Sorted it myself.

Added to my stylesheet -

#cartBoxListWrapper ul{
text-align:left;
font : 12px Arial;
color: #0099ff;
padding: 0px 0px 0px 0px;
}