Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Category Sidebox Color Change for Each Subcategory

Category Sidebox Color Change for Each Subcategory

Locked

Views: 705

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Apr 2010, 4:05 AM
#1
techiegirl avatar

techiegirl

New Zenner

Join Date:
Apr 2010
Posts:
68
Plugin Contributions:
0

Category Sidebox Color Change for Each Subcategory

I want to change the color of the categories sidebox background for each subcategory chosen from the horizontal drop down menu.

For instance, if choosing Sororities>>Alpha Kappa Alpha, I want the categories sidebox background to be green, but if choosing Delta Sigma Theta, I want the categories sidebox background to be red.

I know this will involve creating a separate style for each, but I wasn't exactly sure which files would need to be updated to make this happen.

I have added the Categories Dressing add-on as well.

I've also attached a image of how I want each subcategory landing page to look.

Link to my site is http://www.tregreekboutique.com/zencart

28 Apr 2010, 9:04 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Category Sidebox Color Change for Each Subcategory

In the Classic template's css folder, there's a file CSS_read_me.txt that gives a brief explanation of how to do page-specific stylesheets, which is how I think you'd want to handle this.

If that doesn't explain it, search the forums for category specific stylesheet. There are several threads that explain it in more detail.