Advanced Sidebar Menu
[resolved] current menu item (3 posts)

  1. hansford77
    Posted 3 years ago #

    I am having trouble with the Advanced Sidebar menu - the current page, its parent and all its siblings are being treated as a single menu item for highlighting purposes. Can this be fixed? thanks.


  2. Mat Lipe
    Plugin Author

    Posted 3 years ago #

    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!

  3. hansford77
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Sidebar Menu
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.