Tagged: menu
Hi,
I would like to have each of my menu button in a different color. I tried several options, but didn’t succeed yet finding the option within Enfold. Can you please assist?
Thanks :-)
Hey michael_world2cycle,
If you inspect the elements in your browser (right click->inspect), then you will find the id of the menu items. You can then target them using CSS like this:
#menu-item-1111 .avia-menu-text {
color:green;
}
Best regards,
Rikard
Hello
I tried that and had some help from Support also, for the button in the main menu, which was this
#menu-item-5955 .avia-menu-text {
background-color: red;
font: yellow;
border: hidden 2px solid green;
border-radius: 25px;
}
but it doesn’t work as the border is still set to the font colour. I tried various things over several days, please help. All I want is a coloured button, with border same color and contrasting text. You can see the site below.
Thanks
Sorry, I got this
#menu-item-5955 .avia-menu-text {
background-color: red;
font: yellow;
border: 2px solid green;
border-radius: 2px;
}
The other code was just me experimenting. But this doesn’t work anyway.
Thanks
I think this works better
#menu-item-5955 a span.avia-menu-text{
background-color:#187EE2 !important;
border: hidden !important;
border-radius: 2px; !important;
color:#ffff !important;