Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1384188
    auldreekie
    Participant

    My site has a fixed header.

    I’ve set my responsive nav (Superfly – with a standard hamburger icon) to display up to 1023px, with standard nav links above that.

    Up to 979px the header including the hamburger scrolls up as the page scrolls. Above that it’s fixed, and doesn’t scroll.

    This means that between 980px and 1023px the hamburger icon shows, but scrolls up when the page is scrolled, but as the header is fixed the logo remains in place. This looks bad.

    I’d therefore like to change the width at which the sticky header kicks in from 980px to 1024px. Is that possible?

    Thanks.

    #1384189
    auldreekie
    Participant
    This reply has been marked as private.
    #1384413
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    @media screen and (max-width: 1023px) {
    	.x-navbar-fixed-top {
    		position: relative !important;
    	}
    }

    Let us know how this goes!

    #1384454
    auldreekie
    Participant

    Worked perfectly, thanks so much!

    Support like this is why I just bought 5 new X licenses 🙂

    #1384619
    Joao
    Moderator

    😀 thanks 4 the kind words!

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