Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1371503
    Jay B
    Participant

    Hello,

    There seems to be a problem with my site where the content is falling underneath the navbar.

    Is there anyway to fix this?

    #1371505
    Jay B
    Participant
    This reply has been marked as private.
    #1371506
    Jay B
    Participant

    Looks fine on a mobile though!

    #1371643
    Christian
    Moderator

    Hey Jay,

    Looks like you have not set the responsive behavior correctly. Please see https://www.themepunch.com/revslider-doc/layer-responsive-behavior/ for more details.

    Thanks.

    #1371684
    Jay B
    Participant

    Christian – take a closer look 😉 it’s nothing to do with the rev-slider this is globally throughout the website

    #1371786
    Christian
    Moderator

    Would you mind providing a screen recording of the issue?

    Thanks.

    #1372010
    Jay B
    Participant

    Sure although you only have to look on the site to see so I’m not sure how that’s of any benefit… :-/

    I can fix this using this CSS:

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

    However when viewing on a mobile phone or tablet this then adds an extra bar of padding under the navbar…Got me baffled!

    Thanks in advance

    J

    #1372019
    Jay B
    Participant
    This reply has been marked as private.
    #1372808
    Rad
    Moderator

    Hi there,

    Please try this

    body.x-navbar-fixed-top-active .x-navbar-wrap {
    min-height: 133px;
    }

    Fixing the height will fix it on smaller devices too. And in a narrow device, height is supposed to be bigger.

    Hope this helps.

    #1372906
    Jay B
    Participant

    Hey Rad,

    You just provided me with the same CSS that I said that I could use but I won’t because of the extra padding on a mobile device…

    Height isn’t supposed to be bigger for as long as I’ve been using X. See screenshot of result again – that bar shouldn’t be under the bar

    Also the CSS you provided forces menu items to lower case and effects the colours of the uber menu toggle.

    J

    #1373171
    Paul R
    Moderator

    Hi,

    Kindly change the code to this.

    
    @media (min-width: 979px) {
    body.x-navbar-fixed-top-active .x-navbar-wrap {
        height: 117px;
    }
    }
    

    Hope that helps.

    #1373189
    Jay B
    Participant

    Hey Paul,

    Just to let you know you’re the man! Thank you for your continued support!

    Jay

    #1373281
    Paul R
    Moderator

    You’re welcome! 🙂

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