Hello,
I would like to change the text color of a menu-item. I made a custom css class in the menu editor for this item and use the following code:
/* Elektrisch laden menuknop groen */
.elektrischladen {
color:green;
background-color: green;
}
The background color changes but not the color of the word itself. What am I missing here?
Hey EricSmeets,
Try using this CSS code:
#top .elektrischladen {
color: green;
background-color: green;
}
if that still does not work, please use this instead:
#top .elektrischladen {
color: green !important;
background-color: green;
}
Best regards,
Nikko
Thanks Nikko, but unfortunately both options don’t work. Any other ideas?
Yes of course.
Hi,
Thanks for that. Please try this CSS instead:
.elektrischladen .avia-menu-text {
color: green;
}
Best regards,
Rikard
Perfect! Thanks!