Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Subcategorie in a row not in a column

Subcategorie in a row not in a column

Views: 438

Results 1 to 3 of 3
14 Apr 2011, 5:08 PM
#1
rob51 avatar

rob51

New Zenner

Join Date:
Feb 2010
Location:
Canada
Posts:
7
Plugin Contributions:
0

Subcategorie in a row not in a column

Subcategorie is showing op in a row, not in a column. How to change that?
Look at http://helene-corbin.com/boutique/

Thanks

14 Apr 2011, 9:56 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Subcategorie in a row not in a column

The subcategories by default have a float: left; property, which your template is missing. You probably deleted it from a group rule to fix something else, not realizing the fallout it would have.
You can put it here

stylesheet.css (line 115)

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
margin: 0;
padding-top: 0;
text-align: center;
}

or if that causes a problem somewhere else, give it its own rule:

.categoryListBoxContents {
float: left;
}

I suspect you will want the float for all but maybe one of those selectors.

15 Apr 2011, 11:41 AM
#3
rob51 avatar

rob51

New Zenner

Join Date:
Feb 2010
Location:
Canada
Posts:
7
Plugin Contributions:
0

Re: Subcategorie in a row not in a column

Thank you so much for your help. It worked.