Jump to content

Adding class to header on each category


Recommended Posts

Hello.

I need to add class to header for each category.

In header.tpl of my template I have 

<header id="header">

I need to have something like this:

<header id="header" class="category-id-3">

How can I achive that?

 

Link to comment
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
×
×
  • Create New...