Change hover colour on main menu
WordPress theme dedicated to start-up websites with amazing CSS3 animated icons, price tables and parallax effect background.
- GK User
- Fri Dec 04, 2015 6:18 pm
Hi
I would like to keep the main menu text black but change the hover colour for the main menu and drop down menus to #0000ff. How do I do this?
Thanks
I would like to keep the main menu text black but change the hover colour for the main menu and drop down menus to #0000ff. How do I do this?
Thanks
-
- Junior Boarder
- GK User
- Mon Dec 07, 2015 8:59 am
Hi,
Try to add the following code into the theme’s css/override.css file (make sure to enable the “Use the override.css file” option in Template options > Advanced in the WordPress backend)
Try to add the following code into the theme’s css/override.css file (make sure to enable the “Use the override.css file” option in Template options > Advanced in the WordPress backend)
- Code: Select all
#main-menu > li > a:active,
#main-menu > li > a:focus,
#main-menu > li > a:hover,
#main-menu .sub-menu li > a:active,
#main-menu .sub-menu li > a:focus,
#main-menu .sub-menu li > a:hover {
color: #0000ff!important
}
-
- Moderator
2 posts
• Page 1 of 1