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!
Views: 1,274
Zen Follower
Could someone tell me how to add an additional sidebox within one product category only?
Thanks!
Totally Zenned
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.
Zen Follower
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!
Totally Zenned
take a look at the readme file in the css folder of your zencart version. Instructions are there and in the Tutorials/FAQ
Zen Follower
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!
Totally Zenned
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.
Totally Zenned
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
Tell staff why this post should be reviewed.