• Hi all,
    I am using the a liquorice child theme for my site thehealthycollective.com.
    I have just moved my categories to the nag bar. When the mouse hovers on a parent category, the sub categories drop down. The font is in black and once it is hovered over, turns green. Can anyone provide me a piece of code to put in my child theme that will allow me to change the font colour?
    thanks

Viewing 1 replies (of 1 total)
  • Assuming you just mean the submenu items and not the main menu items, here’s the CSS that you would add:

    /* This is for the submenu text color "normal" */
    #menu-menu-1 ul.sub-menu li a {
       color: #0000ff;
    }
    /* This is for the submenu text color "hover" */
    #menu-menu-1 ul.sub-menu li a:hover {
       color: #ff0000;
    }

    #0000ff is blue while #ff0000 is red; I assume you understand or can look up the right RGB (red/green/blue) hex values for the colors you want.

Viewing 1 replies (of 1 total)
  • The topic ‘CSS for Nav bar drop down menus’ is closed to new replies.