From reading support posts, I see that I can change the color of an individual menu element by using:
#menu-item-3955 > a > .avia-menu-text { color: orange; }
That changes the menu color of that single item _after_ I scroll down. I want that single menu item to be that same color (orange) before I scroll down (when the menu is still transparent).
I don’t want the color changed for all menu items, so using Enfold theme options > Advanced Styling and edit “Main menu links” isn’t an option.
Is there any way to modify the above CSS to also work when the header is transparent (before you have scrolled down)?
I guess I should also request the code to also change the hover element before and after scrolling.
Thanks!
Hey Owen,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentials
Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Best regards,
John Torvik
I will be doing more with the CSS that just what I have asked here…but if I get the answer to this I should be able to do the modifications I want to do.
Here is the info you requested:
Hi Owen,
Just add !important and the home item will be orange all the time
#menu-item-3955 > a > .avia-menu-text { color: orange !important; }
and here is how you can change color on hover
.main_menu ul:first-child > li > a:hover span.avia-menu-text {
color: navy !important;
}
If you need further assistance please let us know.
Best regards,
Victoria
Ah, !important, I should have known to try that :)
It all worked perfectly, thank you.
Hi,
Great! I’m glad you were able to get this taken care of. If you need addtional help, please let us know here in the forums.
Best regards,
Jordan Shannon