Hamburger Color On Hover
-
Hi,
I would like to change Hamburger icon colour on hover. The hamburger goes dark gray on hover (it was set like this from the start), but I wish it to go white on hover.
I’m using free OceanWP. In Mobile Menu Customising Settings it is possible to change the hamburger colour, but not the colour on hover. Maybe it could be done using Custom CSS? Do you know how to do it?I tried to write some Custom CSS code although I don’t know much about it.
I found two solutions, but they aren’t perfect. Maybe you know a better way?
I couldn’t make go away the gray overlay shadow set initially from the start, but the white color is visible through it.
1.:.hamburger-inner:hover:before{ background-color: white !important; } .hamburger-inner:hover:after{ background-color: white !important; } .hamburger-inner:hover{ background-color: white !important; }
2.:
Here I used CSS filter brightness. It is OK, but not so good as changing the colour of the icon could be..mobile-menu:hover{ filter: brightness(300%); !important; }
- The topic ‘Hamburger Color On Hover’ is closed to new replies.