try adding your hover background color to line 479 in your stylesheet style.css.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Try to avoid editing the theme’s files if possible.
You’ll only lose those modifications when the theme updates.
Download & install this Custom CSS Manager plugin and use its allocated section of the dashboard to hold this;
a, #access ul ul :hover > a {
background: #79a90c !important;
}
You’re having to use !important because there’s this CSS style;
a:hover {
background-color: none !important;
background: none !important;
}
Thread Starter
mk2013
(@mk2013)
Thank you!
I added background color to line 479 and it worked.
How do I get the main menus to change color when I hover over them?
I didn’t go with the other option as I’ve already made a buch of other modification to the theme’s files and I don’t plan to do theme updates. (Hope that isn’t a bad idea)
Thread Starter
mk2013
(@mk2013)
Andrew’s code fixed the main menus too.
a, #access ul ul :hover > a {
background: #79a90c !important;
}
Thank you both!
Good idea about the Custom CSS Manager, Andrew.