Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / where do I change category column widths?

where do I change category column widths?

Locked

Views: 1,880

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
19 Feb 2007, 12:19 AM
#1
kappaluppa avatar

kappaluppa

New Zenner

Join Date:
Nov 2006
Posts:
68
Plugin Contributions:
0

where do I change category column widths?

I want to change the width of the Manufacturer, Item name, price columns in the category display. Where do I change those widths? I know where to change the image width, but the item name width is too skinny and the text is squished.

http://www.laudercompany.com/orderonline/index.php?main_page=index&cPath=18

Thanks!
K

19 Feb 2007, 12:24 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: where do I change category column widths?

If I understand what you want correctly these are defined in the DB as a var and 16 or 32 etc - you can change these to a reasonable value and then you might have to adjust the containing column width in the admin > config > layout settings

19 Feb 2007, 1:15 AM
#3
kappaluppa avatar

kappaluppa

New Zenner

Join Date:
Nov 2006
Posts:
68
Plugin Contributions:
0

Re: where do I change category column widths?

Thanks,
What I need is to adjust the containing column width. I checked in admin > config > layout settings but could not tell which of those parameters is for adjusting those particular columns. there are four columns on the category page. :huh:

It actually looks like its the price column that is too wide.

19 Feb 2007, 1:18 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: where do I change category column widths?

there are four columns on the category page.
Zen Cart is a maximum 3 column layout - left -center - right.

Post a url to your page with this issue

19 Feb 2007, 2:07 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: where do I change category column widths?

Opps was way off on what you sought - thanks for the url as this directed me to what you are seeking. You can try adding these entries to your stylesheet.css file and only insure that they total 100% as this is all the space you have and I would use percent over px or em to keep this fluid for other resolutions.

#listCell0-0 {
        width: 10%;
        }
#listCell0-1 {
        width: 50%;
        }
#listCell0-2 {
        width: 20%;
        }
#listCell0-3 {
        width: 20%;
        } 

You will also have to check other listings as this uses the same tabular layout as other items and the same tags. If this messes up others post back and we will have to get a bit more crafty with the definition

19 Feb 2007, 2:14 AM
#7
kappaluppa avatar

kappaluppa

New Zenner

Join Date:
Nov 2006
Posts:
68
Plugin Contributions:
0

Re: where do I change category column widths?

Wow! That worked perfectly with the percentages you have there. I don't know what else it will affect. I've looked and have not found any lopsides anywhere.

Thanks a bunch!!!:cheers:

19 Feb 2007, 2:16 AM
#8
kappaluppa avatar

kappaluppa

New Zenner

Join Date:
Nov 2006
Posts:
68
Plugin Contributions:
0

Re: where do I change category column widths?

oops! found where else it is used! lol
the product info page... duh!
I'm trying to figure out what to do. ...
thanks again!

19 Feb 2007, 2:25 AM
#9
kappaluppa avatar

kappaluppa

New Zenner

Join Date:
Nov 2006
Posts:
68
Plugin Contributions:
0

Re: where do I change category column widths?

OOPS! I don't know what happened. this did NOT affect the product info page.
I must not have refreshed!

sorry for the trouble!

27 Mar 2007, 2:31 PM
#10
slabadoo avatar

slabadoo

Zen Follower

Join Date:
Jan 2007
Posts:
149
Plugin Contributions:
1

Re: where do I change category column widths?

I regards to this post, I am having trouble with the description text font being bold one there are more than 3 products. Any idea what I would need to do to fix this? It can be viewed here:
http://63.134.211.132/catalog2/index.php?main_page=index&cPath=6_10