This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 2 years, 3 months ago.

Start with mobile menu open / showing


  • boomdrak
    Participant

    Posts: 1
    Member Reply #8619

    Hi there,

    How can i change the template so that when browsing the page on mobile/tablet the menu is showing as open default?

    I want the users to see the menu open when accessing our page. Then if he wants, he may collapse (minimize the hamburger menu).

    How is the menu togglet open/closed? Is there some css or js i cant use to force to menu open on page load?

    Try’d this tip, with to luck: http://keenthemes.com/forums/topic/can-nav-menu-appear-opened-in-mobile-top-menu-bar-under-logo/

    Using Metronic 4.7.1 theme admin_1_rounded

    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #8628

    Hi :),

    Please try to add “in” class to the sidebar menu container:

    <div class=”page-sidebar navbar-collapse collapse in”>

    </div>

    If you need any further clarifications please let us know.

    Thanks.


    boomdrak
    Participant

    Posts: 1
    Member Reply #8644

    Excellent! That worked well.

    I focused on  wrong element (hamburger) and not the sidebar.

    Cheers 🙂

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #8655

    Great! You are very welcome. Good luck with your project 🙂

Tagged: 

You must be logged in to reply to this topic.