Hi,
how can every menuitem of my mainmenu get a seperate color? Which css code is needed?
Hey aisukei,
You can use code like this in Quick CSS, this will target your first menu item:
#menu-item-744 .avia-menu-text {
color:yellow !important;
}
Inspect the other ones in your browser to find out their IDs.
Best regards,
Rikard
ive put this on my css but it doesnt change the color. What could be the reason?
Hi aisukei,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
#top #wrap_all .header_color #menu-item-744.av-menu-button-colored>a .avia-menu-text {
color: yellow;
}
Can you disable the Autoptimize plugin while we’re helping you?
If you need further assistance please let us know.
Best regards,
Victoria
I have deactivated autoptimize. With this css code there is a change but its only the textcolor not the buttoncolor.
Best regards
Hi,
If I understand correctly, you would like the background-color of the button yellow, try this css:
#top #wrap_all .header_color #menu-item-744.av-menu-button-colored>a .avia-menu-text {
background-color: yellow!important;
color: red !important;
}
I made the text color red so you can see it, adjust to suit.
Best regards,
Mike