Zen Cart Logo
Forums / General Questions / Adding additional sidebox to one category only?

Adding additional sidebox to one category only?

Locked

Views: 1,274

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
29 Jan 2009, 3:36 PM
#1
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Adding additional sidebox to one category only?

Could someone tell me how to add an additional sidebox within one product category only?

Thanks!

29 Jan 2009, 3:39 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,792
Plugin Contributions:
14

Re: Adding additional sidebox to one category only?

You could have a category-specific stylesheet that "turns on" the display. You would have the display: none; in your main css and take it out in the css for that category.

29 Jan 2009, 4:08 PM
#3
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Re: Adding additional sidebox to one category only?

Thanks for the quick reply!

I understand the concept totally, but isn't the stylesheet loading in the header which is standard throughout the site? how would I make the switch between linking from the main stylesheet to stylesheet B when loading this particular category... if you get what I mean?

Thanks!

29 Jan 2009, 5:24 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,792
Plugin Contributions:
14

Re: Adding additional sidebox to one category only?

take a look at the readme file in the css folder of your zencart version. Instructions are there and in the Tutorials/FAQ

29 Jan 2009, 7:33 PM
#5
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Re: Adding additional sidebox to one category only?

dbltoe:

take a look at the readme file in the css folder of your zencart version. Instructions are there and in the Tutorials/FAQ

Thanks, will take a look!

29 Jan 2009, 8:30 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,792
Plugin Contributions:
14

Re: Adding additional sidebox to one category only?

In reviewing the readme, I remember now that it is a tad vague on the category css options.

If you have a category (281) with no sub-categories, you'd put just the code you need into c_281.css.

If you have a sub-category (284), you'd have a c_281.css for the category page and a c_281_284.css for the sub-category.

21 Feb 2009, 10:04 AM
#7
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Adding additional sidebox to one category only?

You have to download the Blank_Sidebox_2.0 mod. It comes with a pretty comprehensive help guide and it's really easy to install as many extra sideboxes as you need.

I had a similar problem wanting the new boxes to appear only in one category. My solution was found here