• Resolved O K

    (@ffscz)


    Hi,
    i need the solution.

    If i have OnePage layout and use Flyout (etc) on resonsive menu i need close menu after click on the menu iten.

    Every items in menu has Anchor (#something-on-page), which scroll to section page. But menu still is opened.

    How i can close menu afte item click?

    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter O K

    (@ffscz)

    P.S.
    another bug.

    If i have Anchor ULR with absolute path https://domain.com/#anchor and if i clicked on menu from page https://domain.com/contact (URL in menu is https://domain.com/#main page) all menu items are marked as current-menu-item current_page_item with active background color.

    I cant fix mouseover bg in this situation.

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @ffscz

    The below code can be used to close the Hamburger when clicked on any of the link —

    if( window.outerWidth <= 1024 ) {
        document.querySelector( '.hfe-nav-menu__submenu-arrow' ).addEventListener( 'click', function( event ) {
        	document.querySelector( '.hfe-nav-menu__toggle' ).click();
        });
    }

    I hope this helps. Please let me know how can I help you further.

    Regards,
    Rahul.

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @ffscz

    Marking this topic as resolved due to inactivity and assuming the issue is resolved at your end.

    Feel free to reply here or open up a new issue thread if you are still facing this problem.

    Regards,
    Rahul

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mobile menu and Anchors’ is closed to new replies.