Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product List Styling

Product List Styling

Locked

Views: 672

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Nov 2010, 4:00 PM
#1
coxdabd avatar

coxdabd

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Product List Styling

Hi, I've managed to style the product list page to how I want it to look but when there is only two products in a list, they center themselves, whereas I want them to be float on the left with a 15px margin or so to seperate them slightly.

I also want to be add a thick border line underneath each row such as the example: http://farm5.static.flickr.com/4003/5148967038_0513a8918e_b.jpg

Please find my site at the following address: http://www.chichairandbeauty.co.uk/bang/index.php?main_page=index&cPath=7

Any help will be appreciated.

7 Nov 2010, 10:38 AM
#2
coxdabd avatar

coxdabd

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: Product List Styling

It's been a couple of days since posting this, can anyone help at all? Really need to get this product list page nailed. Just need a little help from a ZenCart expert. Would appreciate some help.

7 Nov 2010, 1:30 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Product List Styling

Not exactly sure what you're looking to do, but try:

.centerBoxContentsProducts {text-align:left;}

then floating .itemTitle and .listingDescription left. You'll need to play with padding and margin.

8 Nov 2010, 8:46 AM
#4
coxdabd avatar

coxdabd

New Zenner

Join Date:
Aug 2010
Posts:
77
Plugin Contributions:
0

Re: Product List Styling

Hi there, many thanks for your quick response. Having looked at the HTML, each product in the list is inside of the DIV centerBoxContentsProducts there is aditional styling which is: width: 49.5%;. Is there a way to overide this? I can't work out how I can override this? Any ideas?

stevesh:

Not exactly sure what you're looking to do, but try:

.centerBoxContentsProducts {text-align:left;}

then floating .itemTitle and .listingDescription left. You'll need to play with padding and margin.