Jump to content
Sign in to follow this  
glf

change header background color for each main category

Recommended Posts

i want to make the header color change when the visitor selects a main category. each main category should have it's own color.

the effect i want is like http://www.schukat.com/ when you select a main category.

 

i am searching for 2 days now and i haven't found a solution. any ideas ?

Share this post


Link to post
Share on other sites
Use a switch on $current_category_id with a stylesheet named the same number.

 

Can anyone confirm that this actually works? I want 1 category to be red. The rest should remain the same way.

 

If it does work, what file should this case statement be placed in?

Edited by Haitashi

If you have a serious problem but it can be solved, why worry about it? If you have a serious problem but it can't be solved, then why worry about it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×