Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #911718
    Mennojones1
    Participant

    I want the mobile version of mayishare.website to already have the menu revealed. I don’t want the three lines to be the first thing you see. How do you do that ?

    Thanks,
    Chris

    #912078
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> JavaScript :

    jQuery(".x-btn-navbar").removeClass("collapsed");
    jQuery(".x-nav-wrap.mobile.collapse").addClass("in").css("height","auto");​

    Hope it helps.

    #912608
    Mennojones1
    Participant

    I posted this and it did not work. Can you help ? My client really is demanding this.

    Chris

    #912998
    Rupok
    Member

    Hi Chris,

    Let’s update the code a bit :

    jQuery(document).ready(function($) {
      $(".x-btn-navbar").removeClass("collapsed");
      $(".x-nav-wrap.mobile.collapse").addClass("in").css("height","auto");
    });

    I have tested the code so it must work if you add this correctly.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-911718 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>