• Resolved soberbobo

    (@soberbobo)


    I am modifying wordpress 2013 theme. I have been customizing it with a child theme via CSS. I am not familiar with PHP. On my drop down menu when I select a sub menu Item the sub menu items hover state changes the background of the original menu item. I cannot figure out what is making this change to override it in the CSS. Any help would be so wonderful.
    See site here It is on the “About Rio” link when you then hover over “Testimonials”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try putting this in child theme stylesheet before other menu styling modifications.

    .nav-menu li:hover > a,
    .nav-menu li a:hover {
    	background-color: red; /* was #220e10 */
    	color: blue; /* was #fff */
    }

    Also, try to remove all instances of !important. It’s the last resort, use only when necessary. When used, will destroy ability to override properly.

    Thread Starter soberbobo

    (@soberbobo)

    That did it. Thank you so much. I will check my “!important”‘s as well and remove the ones I can do with out. Very grateful to your educated and very prompt response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link background of drop-downs prior hover state’ is closed to new replies.