Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / catagory/subcatagory layout

catagory/subcatagory layout

Locked

Views: 1,173

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
27 Jun 2007, 2:55 AM
#1
nenemaria avatar

nenemaria

New Zenner

Join Date:
Jun 2007
Location:
England
Posts:
23
Plugin Contributions:
0

catagory/subcatagory layout

I intend to have images for all my catagory/subcatagorys but want them to show 3 coloumns across on the page rather than one long column as it is now. I can't seem to find out where or how to do this.

If anyone could point me in the right direction it would be much appreciated.

Thanks.

http://neonblackonline.co.uk/shop/

27 Jun 2007, 3:10 AM
#2
nenemaria avatar

nenemaria

New Zenner

Join Date:
Jun 2007
Location:
England
Posts:
23
Plugin Contributions:
0

Re: catagory/subcatagory layout

Hmm I just changed back to the 'classic' layout and it seems they already show in 3 columns.
Must be something I have changed in the stylesheet that made them go in one long coloumn.

Now to start searching!

27 Jun 2007, 3:20 AM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: catagory/subcatagory layout

Looks like you've already found & fixed that...

What was it, for general edification?

27 Jun 2007, 3:41 AM
#4
nenemaria avatar

nenemaria

New Zenner

Join Date:
Jun 2007
Location:
England
Posts:
23
Plugin Contributions:
0

Re: catagory/subcatagory layout

Well I have found what it was, I was using this:

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
text-align: center;
}

to center my header, which was also centering the catagories to one column.

So I have put it back to:

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

but now my header isn't center...

27 Jun 2007, 3:47 AM
#5
nenemaria avatar

nenemaria

New Zenner

Join Date:
Jun 2007
Location:
England
Posts:
23
Plugin Contributions:
0

Re: catagory/subcatagory layout

Edit: still not working :(

27 Jun 2007, 3:52 AM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: catagory/subcatagory layout

You just need to separate out the selectors that you want different from the rest:

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

#logo {
text-align: center;
}

27 Jun 2007, 3:55 AM
#7
nenemaria avatar

nenemaria

New Zenner

Join Date:
Jun 2007
Location:
England
Posts:
23
Plugin Contributions:
0

Re: catagory/subcatagory layout

Brilliant, thanks very much!

I will get a hang of this stylesheet business one day :blush: