I’m trying to change the submenu background color of a menu in its hover state. I’ve tried using firebug to find the relevant css classes but have only been partially successful.
If you visit the site (http://www.yogaacademy.com.au/new/) you’ll see that there is both a grey and black background on hover. I want it to be completely black.
It’s a wordpress site using the woothemes canvas theme with some customizations. The html (below) is pretty standard, but the I haven’t been able to figure out exactly where the relevant css is coming from: styles.css and css/ and custom.css in the canvas-child theme.
Your help will be much appreciated.
Thanks.
change background color to black in layout.css line 211
Try remove “float: left;” from #main-nav li in custom.css line 143
Change:
to
I think this CSS line is coming from: wp-content/themes/canvas/css/layout.css on line 211
Cheers
Go to that submenu class, then put this code: (Let’s assume it’s called child)
child:hover {
background-color:black}
HTML
CSS