nav-selected

Permalink 1 user found helpful
Hi,
I'm discovering C5 right now...
I have a little problem with nav-selected, when i'm doing this:

#page #central #sidebar ul.nav-header li.nav-selected { 
   font-weight:bold;
       color: #fa8f04; 
}


font-weight works, but color is not working...
Does anybody have an idea ?
I'm a bit lost...
Thanks !

 
monyuka replied on at Permalink Reply
monyuka
try adding !important to override inheritance from its parent.. see how it goes

color: #fa8f04 !important;
trippo replied on at Permalink Reply
If it's a link (<a href>) you want to change to colour for - you need to do:
#page #central #sidebar ul.nav-header li.nav-selected a {
color:#fa8f04;
}
jeremix replied on at Permalink Reply
Thanks, it now works with li.nav-selected a
As you can see, i'm not very good at html / css...
trippo replied on at Permalink Reply
Glad I could help :)