Page 1 of 1
Color on marked menus ?
Posted: Tue Apr 12, 2011 8:07 am
by Cogo
Hello.
I would like the menus should be marked with a specific color when you are on a menu that you have chosen. How do you do this?
Re: Color on marked menus ?
Posted: Tue Apr 12, 2011 4:43 pm
by Dr.CSS
The default menu templates set menuactive or something like that, look in the page source for that type of class on an active link, link to page helps with this kind of thing...
Re: Color on marked menus ?
Posted: Tue Apr 12, 2011 4:53 pm
by Cogo
Please can someone give a example. I can“t do own code to get it works
Re: Color on marked menus ?
Posted: Tue Apr 12, 2011 5:58 pm
by M@rtijn
The Doctor has already given the best answer there is, so I'm just going to repeat:
Dr.CSS wrote:The default menu templates set menuactive or something like that, look in the page source for that type of class on an active link, link to page helps with this kind of thing...
Re: Color on marked menus ?
Posted: Wed Apr 13, 2011 8:02 am
by Cogo
now i have try to get color on the choosen menu, but its dosent work

Re: Color on marked menus ?
Posted: Wed Apr 13, 2011 10:24 am
by Marijus
add into css:
Code: Select all
#primary-nav .menuactive .menuactive
{background-color:silver;}
#primary-nav .menuactive .menuactive span
{color:red;}
Re: Color on marked menus ?
Posted: Wed Apr 13, 2011 10:32 am
by Cogo
Thanks Marijus its works!
