How to change menu color on hover over
-
Hello All,
After following the post How to change the Top Bar /Menu text color i know how to change the menu background, font color and font color on hover over menu. But what i am still looking is to change the selected menu backgrounf on hover over.
By default theme changes the background of selected menu to some darker color but i want this to change to my primary color or any other fixed color. How is this possible.
#nav-header .nav li a { color: red; }
#nav-header .nav li > a:hover,
#nav-header .nav li:hover > a,
#nav-header .nav li.current_page_item > a,
#nav-header .nav li.current-menu-item > a,
#nav-header .nav li.current-menu-ancestor > a,
#nav-header .nav li.current-post-parent > a { color: blue; }Thanks,
Avinash
- The topic ‘How to change menu color on hover over’ is closed to new replies.