Forums / Templates, Stylesheets, Page Layout / Subcategories in columns rather than rows

Subcategories in columns rather than rows

Locked

Views: 1,056

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
31 Dec 2009, 4:35 AM
#1
mibelloboutique avatar

mibelloboutique

New Zenner

Join Date:
Apr 2008
Posts:
30
Plugin Contributions:
0

Subcategories in columns rather than rows

I am working on a website and need to change the subcategories to look like this http://mibelloboutique.com/index.php?main_page=index&cPath=56 (my site). I need the subcategories in 3 columns like mine and have changed the categories to list per row as 3. This is the version of zen cart being used Zen Cart 1.3.8a. This is the site I need to change and the page that needs to change. Scroll down past the picture....

http://allaboutribbon.com/index.php?main_page=index&cPath=3

There are no subcategory pics uploaded. On my site, I didn't have to do anything special, no mods, etc....

Thoughts?

31 Dec 2009, 5:03 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Subcategories in columns rather than rows

Add to your stylesheet```
.categoryListBoxContents {float: left;}

The default stylesheet has a rule that includes this, which has been changed so that some other element would not float left. The right way to do that is to separate out the element you actually want to change and give it its own rule instead of changing the property for a whole list of elements. Perhaps this was the one:```
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch {
	text-align:center;
	}