Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Setting categories sidebox to different vertical heights on different pages

Setting categories sidebox to different vertical heights on different pages

Locked

Views: 1,118

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Feb 2009, 7:23 PM
#1
endl avatar

endl

New Zenner

Join Date:
May 2008
Posts:
58
Plugin Contributions:
0

Setting categories sidebox to different vertical heights on different pages

v1.3.8

What is involved with setting the categories sidebox to different vertical heights on the main page and category/product pages?

Thank you.

18 Feb 2009, 12:17 AM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Setting categories sidebox to different vertical heights on different pages

Do you want to locate it higher or lower on the page?

Or do you want it to have a greater or lesser box height?

Do you want more or less content in it?

And so on...

The short answer is, what are you trying to do? And do you have a link to your site so we can see how best to help?

Rob

18 Feb 2009, 1:23 AM
#3
endl avatar

endl

New Zenner

Join Date:
May 2008
Posts:
58
Plugin Contributions:
0

Re: Setting categories sidebox to different vertical heights on different pages

I had to turn off the products for awhile but if you look at the main page http://www.sanluisconstruction.com/cart/

The category box is ok for now where it is though it still needs customizing.

But on the product pages I would like it farther down the page. I can move it around in the stylesheet but it is a global change. I just want to move it on the products pages.

Thank you.

18 Feb 2009, 1:59 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Setting categories sidebox to different vertical heights on different pages

You can use the page body id to set different margins etc. for any element in the stylesheet.
If you want the categories sidebox where it is now for most pages but say 200px lower on the product info page, you would put in your stylesheet```
#categories {margin-top: 1.5em;}

#productinfoBody #categories {margin-top: 21.5em;}

18 Feb 2009, 2:19 AM
#5
endl avatar

endl

New Zenner

Join Date:
May 2008
Posts:
58
Plugin Contributions:
0

Re: Setting categories sidebox to different vertical heights on different pages

Thanks again.