Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1181069
    Pascal
    Participant

    Hi there!

    On this site: http://jesustreff.de/ I used this code to fix the mobile navigation at the top:

    .x-navbar-fixed-top {position: fixed;
    z-index: 1030;}

    When i open a site it appears perfect, but when i scroll down and up to the top it puts the revolution slider element behind the navigation bar. Is there a better code to fix the navbar without this issue?

    Thanks,
    Pascal

    #1181071
    Christopher
    Moderator

    Hi there,

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

    body.x-navbar-fixed-top-active .x-navbar-wrap {
        height: auto;
    }

    Hope that helps.

    #1182040
    Pascal
    Participant

    This works, but feels like a magnet is pulling the site back in to the top position.
    Is there maybe a “smooth solution”?

    Hope you got a plan b 😀
    Pascal

    #1182256
    Jade
    Moderator

    Hi Pascal,

    Would you mind providing us with a sample link that we can refer to on how you want the navbar to transition back to top?

    Thanks.

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