Archived topic
How to change the background color of the button of the Principal Menu
5 replies · Started by David on April 28, 2021
Hello
I want to change the background of the main menu button when it is clicked on but I can't find the way. I have looked in customization but in the menu options it does not appear.
How can I do it?
Thanks
Hi David,
What exactly do you mean by when it is clicked on?
Do you mean the current page menu item?
Let me know :)
Well, as you can see in this image:
https://ibb.co/4SWC79t
... when you click on a menu option it turns green for a moment but then it doesn't continue with that green color, it's like a flash... but I dont want to see that green color, how can I change it?
Thanks :)
I see, it's this CSS you added making it turns to green :)
https://www.screencast.com/t/nxtvq8YCDTX
You could use this CSS instead to exclude the menu items:
a:not(.inside-header li a):active {
background-color: green !important;
}
Guau, I searched in style.css but I didnt find it. Thank you very much!
You are welcome :)