Zen Cart Logo

Sub-Category Pages

Locked

Views: 462

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
18 Mar 2010, 5:24 AM
#1
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Sub-Category Pages

I have set the "Maximum Values" > "Categories To List Per Row" to 2 in admin.

I have added the following code to my CSS:

/list box contents/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsProducts, br+.categoryListBoxContents, .centerBoxContentsNew {
padding-left:0;
padding-right:0;
vertical-align: top;

}
.centerBoxContentsProducts {
border-top: 1px inset blue;
border-left: 1px inset blue;
border-right: 1px inset blue;
border-bottom: 1px inset blue;
-moz-border-radius: 12px 12px 12px;
height: 325px;

}
.categoryListBoxContents{
border-top: 1px inset blue;
border-left: 1px inset blue;
border-right: 1px inset blue;
border-bottom: 1px inset blue;
-moz-border-radius: 12px 12px 12px;

}

For some reason I can only get 1 Sub-Category to a row. However I get 3 products to a row on the product listing page.

Any suggestions?

Here is a link to the page so you can see.

Thanks,
Ray

18 Mar 2010, 6:37 AM
#2
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Sub-Category Pages

I figured it out.

I removed:

'style="width:' . $col_width . '%;"'

in category_row.php

and added:

    width: 49%;

in stylesheet.css