Jump to content

[Sloved]How to set top horizontal menu ul with different color?


Recommended Posts

first child and last child allows to change only first and last element.

 

 

 

$this->_menu .= '<li class="'.$link[0]['label'].'"> line 665 and now I can change it with different CSS   :)

you changed it for each CASE value in switch function?

Link to comment
Share on other sites

first child and last child allows to change only first and last element.

 

you changed it for each CASE value in switch function?

 

Nope, because my menu just have link and category so I just changed LNK in switch function. Category menu tab just edit the default CSS

Link to comment
Share on other sites

ok everything is clear :)

for everyone interested in this solution

if you use also other "links" like cms, categories - you have to modify also other "CASES" from switch function.

how? in the same way as for LNK :)

 

thank you!

  • Like 1
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...