Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #878981
    miket855
    Participant

    Hi, I have changed the look of mobile menu

    dsevis.davidpetrovic.com

    And you can notice that when I open mobile menu, you can see default mobile menu sliding for brief moment, and then menu that I have styled is opening.
    Can you help me fix this?

    #879670
    Thai
    Moderator

    Hi There,

    Please find this CSS:

    .x-nav-wrap.mobile.collapse.in {
        display: block;
        position: absolute;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.9);
        text-align: center;
        z-index: -999;
    }

    And update to this:

    .x-nav-wrap.mobile.collapse.in {
        display: block;
        position: absolute;
        width: 100vw;
        height: 100vh;
        text-align: center;
        z-index: -999;
    }

    After that add the following CSS:

    .x-nav-wrap.mobile {
        background-color: rgba(0,0,0,0.9);
        transition: none;
    }

    Hope it helps 🙂

    #879880
    miket855
    Participant

    Thanks, it does! 🙂

    #880509
    Nabeel A
    Moderator

    Glad we could help 🙂

    Cheers!

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