I found the following code and added it to my custom css but it does not work. Is there another code I need to use?
#nav ul li:hover{
background:#000 !important;
}
Thanks
Sue
Hi Sue,
Thanks for keeping in touch with us.
Could you please provide me with a link to your site so I can do some testing to find the perfect CSS that works best on your site?
Looking forward to your response.
Kind Regards.
Thank you -http://brigade.org.c11.previewyoursite.com
Also sometimes when I open the site, the menus on drop down cover the entire webpage. I have a screenshot but am not sure how to get it to you. I can email it if you contact me directly.
Really appreciate your help.
Sue
Hi,
Please use the following in Theme Options -> Custom CSS
ul.nav-menu li a:hover {
background: #000 none repeat scroll 0 0 !important;
}
Thank you.
Thank you but that change the background color of the block – I wanted to change the color of the text on hover. – sorry if I did not make that clear.
Sue
Hi Sue,
Thanks for contacting us again.
Kindly use the following code:
ul.nav-menu li a:hover {
color: #000!important;
}
Please change the color code to fit your preference.
Cheers!
That is what I tried already (see my first post). It does not work for my site (that is why I first posted.)
Thanks again
Sue
HI,
Please try using the following in Theme Options -> Custom CSS
ul.nav-menu li a span:hover, ul.nav-menu li:hover a span, ul.nav-menu a:hover {
color: #ff0000 !important;
}
Your menu item text is wrapped in a span tag within the a tag.
Thank you.
You are welcome!
Have a nice day.
The topic Hover color on main menu is closed to new replies