Jump to content

add class to categories with definite depth


rozwesel

Recommended Posts

Hi!

 

I would like to add class to categories with first level depth in category-tree-branch.tpl. I want to change my main categories like in this store http://www.cscimports.com/

 

I tried to add {if $level_depth == 3} class="gorny" {/if} and simmilar but it doesn't work:(

 

Is someone who can help me?

 

P.S. I'm not a php programmer but I'm ambitious and I made my own store. Sorry for my english.

 

Best regards from Poland!

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...