• Resolved touto

    (@touto)


    Hi,

    Is it possible to make the dropdown menu parent active while on one of the child pages in the menu?

    I’ve tried quite a lot of stuff (changing classes, adding classes, etc.) but had no luck. Has anyone managed to get this to work?

    Taken from the bootstrap guide to illustrate what I mean:

    <li class="dropdown">
     <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
      <ul class="dropdown-menu">
     <li><a href="#">Action</a></li>
    <li><a href="#">Another action</a></li>
    <li><a href="#">Something else here</a></li>
    </ul>
    </li>

    I want the ‘Dropdown’ menu item to be active while for example, on the Action page.

    Thanks

Viewing 1 replies (of 1 total)
  • Theme Author vee

    (@okvee)

    Yes, you can.
    Referer from my site. https://wimutti.org/

    From admin > menus
    Add custom links URL as # and custom link text
    Add any link (categories, posts, pages, anything) and drag it to be sub-menu.
    That’s it.

    Make sure that you disable other plugins that may conflict with Bootstrap css/js.

Viewing 1 replies (of 1 total)
  • The topic ‘Make dropdown menu parent active?’ is closed to new replies.