Hi,
I want to change the background color of activated menu. Like this :- http://s14.postimg.org/mme2qlgbl/Untitled_1.png
As you can see the home is activated, so its color is different (white) from rest of the menu color (green).
I have tried these codes, but its not working on my site:
.av-main-nav > li.current-menu-item { background-color: orange !important; }
.av-main-nav > li.current-menu-item > a > .avia-menu-text { color: orange !important; }
Note:: Website is in a local development server, so can’t provide you with the direct link. I can provide you with the screenshots only. So please provide me with the working code asap.
Thanks in advance
Hey Hardeep!
I think your code should be working. You could try this as well.
.current-menu-item a { background: white !important; }
Other than that we would need to see it in action to troubleshoot what’s going on.
Best regards,
Elliott
Thanks its working with the background but the text is also getting white in the activated state. Please see :- http://s17.postimg.org/jglpj1n9r/Untitled_1.jpg
I want background in white and text in green!
Hi,
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
Rikard
I’m sorry I already told you that the website is in development server right now! I can only provide you with the screenshot as of now!
Hi!
Please add following code to Quick CSS
.current-menu-item > a > .avia-menu-text { color: green !important; }
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field
Cheers!
Yigit