Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Column width in Product Listing

Column width in Product Listing

Locked

Views: 1,460

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
8 Dec 2010, 4:52 AM
#1
ramses65 avatar

ramses65

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Column width in Product Listing

I have a question regarding the width of each column in the product listing.

I am running version 1.3.9.f and have looked at the includes/MY_TEMPLATE/product_listing.php file but came to a stop when I didn't see what I was expecting.

Where can I modify the width of each column on this page?

My intention is to customize the view of my listings and I have played with a few mods, but nothing I found does the job.

I would like to do something like this:

Listing for product1:
| image |   custom specs   |   description  |   price   |
Listing for product2:
| image |   custom specs   |   description  |   price   |
Listing for product3:
| image |   custom specs   |   description  |   price   |
ETC, ETC...

It's pretty basic, but I can't seem to find the page which controls the column width :no:

Thanks for any help !

8 Dec 2010, 5:37 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Column width in Product Listing

Add to your stylesheet```
#listCell0-0 {width: 90px;}
#listCell0-1 {width: 200px;}
#listCell0-2 {width: 150px;}
...

The price column has a setting in admin > Configuration > Product Listing > Display Product Price/Add to Cart Column Width.
8 Dec 2010, 2:48 PM
#3
ramses65 avatar

ramses65

New Zenner

Join Date:
Dec 2010
Posts:
9
Plugin Contributions:
0

Re: Column width in Product Listing

Works perfectly!

Thanks for your reply gjh42.