Forums / Templates, Stylesheets, Page Layout / Alignment of Sub Categories on Main Category Page

Alignment of Sub Categories on Main Category Page

Locked

Views: 664

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Aug 2010, 10:06 AM
#1
djpcmh avatar

djpcmh

New Zenner

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

Alignment of Sub Categories on Main Category Page

I've just set up my ZenCart Shop and so far so good - helped enormously by a lot of the threads on here.

I have one problem that I would appreciate some help with - I have searched the forums but the only topics I can find are ones where people are trying to do what I seem to have done (without knowing how!)

Where I have a product category with a number of sub categories I would like the sub categories to show (on the main category page) three to a row. At the moment they are all aligned to the left with just one on each row.

Here's an example of what the main category page currently looks like:
http://cardmakingheaven.co.uk/zenshop/index.php?main_page=index&cPath=1

If any one can help I'd be grateful

Thanks

Debbie

5 Aug 2010, 10:26 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Alignment of Sub Categories on Main Category Page

They're supposed to align in a grid, but yours don't, so add this to the bottom of your stylesheet:

.categoryListBoxContents {float:left;}

5 Aug 2010, 10:40 AM
#3
djpcmh avatar

djpcmh

New Zenner

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

Re: Alignment of Sub Categories on Main Category Page

Steve

Thank you!

That worked a treat.

Regards

Debbie