Support » Plugin: WP Mobile Menu - The Mobile-Friendly Responsive Menu » Hide the menu as visitors scroll

  • Resolved Nima

    (@mrgoodfox)


    Hi,

    Right now when a mobile visitor scrolls our pages, the mobile menu / header scrolls with it. Is it possible to not let is scroll with the page? Just stay on top of the page?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Hi @mrgoodfox,

    This is something I’m planning for the next update, but let’s try to achieve it now with some custom code.

    Add the code below to the custom CSS option in the General Options.

    .mob-menu-header-holder {
        position: inherit!important;
    }
    .mobmenu-push-wrap {
        padding-top: 0px!important;
    }

    Add the code below to the custom JS option in the General Options.

    setTimeout(function(){ 
    jQuery( '.header-wrap' ).append( jQuery( '.mob-menu-header-holder' ).detach() ); 
     }, 2000);

    Clear the cache and test again.

    Let me know the result.

    • This reply was modified 2 years ago by Rui Guerreiro. Reason: missing code format
    Plugin Author Rui Guerreiro

    (@takanakui)

    Will close the topic for now.
    Let me know if you need further help with this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide the menu as visitors scroll’ is closed to new replies.