Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Can I put 2 columns in for subcategory images?

Can I put 2 columns in for subcategory images?

Locked

Views: 1,022

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Feb 2008, 4:40 AM
#1
stormysar avatar

stormysar

New Zenner

Join Date:
May 2007
Posts:
49
Plugin Contributions:
0

Can I put 2 columns in for subcategory images?

http://www.motherhoodnaturally.com/ZCTEST/index.php?main_page=index&cPath=2 is the page I'm looking at.

I'd like to have the subcategory images in two rows to conserve space and make things look a little less left-sided.

Is this possible to do here? I'm just thinking about this one page... Not sure if I'll do it to others.

10 Feb 2008, 7:41 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Can I put 2 columns in for subcategory images?

What do you have set for admin > config > maxium values > Categories To List Per Row

Zen-Venom Get Bitten

10 Feb 2008, 4:40 PM
#3
stormysar avatar

stormysar

New Zenner

Join Date:
May 2007
Posts:
49
Plugin Contributions:
0

Re: Can I put 2 columns in for subcategory images?

It's set at 3

10 Feb 2008, 5:47 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Can I put 2 columns in for subcategory images?

You are experiencing the pitfalls of changing properties of a multiple selector declaration without separating out the one selector you really wanted to affect.
Your stylesheet has```
#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
text-align: center;
}

Change it to```
#logo, .centerBoxContents, .specialsListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
	text-align: center;
	}

.categoryListBoxContents {float: left;}

Was it the logo you wanted to center? If you didn't want to change anything but the logo, make that section like this instead```
#logo {
text-align: center;
}

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}