Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #712704

    Hello!

    I added this to Quick CSS so that the active item would be shaded on the mobile menu:
    #mobile-advanced li.current-menu-item {
    background-color: #f8f8f8;
    }

    Problem is that is is shading the main menu item and all submenu items under that main menu, instead of just the one page they are on. How to fix that?

    Thanks in advance for any help you can give.

    • This topic was modified 8 years ago by Julie. Reason: Removed original question that I no longer need an answer to
    #713238

    I am going to work around question #1 above, so you can disregard that. :)

    The only remaining question is how to adjust the Quick CSS so that only the active item is highlighted in the mobile menu, even if it is a submenu item.

    Thanks!

    #713245

    Hi Julie,

    Please change your code to following one

    #mobile-advanced li.current-menu-item > a {
        background-color: #f8f8f8;
    }

    Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.

    Best regards,
    Yigit

    #713256

    Works perfectly now.
    Thanks so much Yigit! :)

    #713260

    Hi!

    You are welcome Julie! :)
    Let us know if you have any other questions or issues!

    Cheers!
    Yigit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Menu indicator on mobile highlights top level page and subpages’ is closed to new replies.