WordPress.org

Support

Support » Plugins and Hacks » [Resolved] current menu item

[Resolved] current menu item

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mat Lipe

    @mat-lipe

    Hello,
    The issue you are having is caused by your css targeting the li elements.
    This line exactly:

    #sidebar .box li:hover {
    background: url(../images/noise.png) #636E75;
    }

    The child menus are inside the li elements of the parent menu and therefore are all highlighted.

    To highlight the single link you will have to adjust your css to target the ‘a’ elements instead of the ‘li’. Something like this

    #sidebar .box li a:hover {
    background: url(../images/noise.png) #636E75;
    }

    You will most likely want to adjust the padding and such on the ‘a’ elements as well to achieve your desired highlighting effect.

    Hope this helps!

    You are a complete star! thanks so much for such quick help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] current menu item’ is closed to new replies.