• Resolved kronwebdev

    (@kronwebdev)


    Hello!

    I am looking for a custom CSS statement to make the menu fixed when on mobile and tablet. Is there anyone here who has experience with such or is it not possible?

    In advance thanks!

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

    (@takanakui)

    Hi @kronwebdev,

    If you are talking about the Mobile Header from WP Mobile Menu then it’s supposed to be fixed already.

    What is your site url so I can have a look?

    Thread Starter kronwebdev

    (@kronwebdev)

    Hi Rui

    Thanks for the fast reply first of all. It is indeed your plugin that I am using.

    The website is http://www.skolebordet.krondev.dk

    If I have been using the description of fixed incorrectly I will explain it as being stuck to the header and not follow the page when you scroll down. I am using an iPad and Xperia XZ for testing.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Add the code below to your custom js option.

    jQuery( document ).ready(function() {
      jQuery( 'body' ).after( jQuery( '.mob-menu-header-holder' ).detach() );
    });

    Also add this custom css.

    .mob-menu-header-holder {
      position: absolute!important;
    }

    clear the browser cache and test again.

    Plugin Author Rui Guerreiro

    (@takanakui)

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

    Thread Starter kronwebdev

    (@kronwebdev)

    It was all perfect. Thank you so much for your fast reply and help.

    Plugin Author Rui Guerreiro

    (@takanakui)

    Thats great. Im glad it worked.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Fixed menu’ is closed to new replies.