Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1284378
    Christopher
    Moderator

    Hi there,

    Please adjust the height in following CSS block :

    .x-navbar .desktop .x-nav > li > a {
        height: 100px;
        padding-top: 37px;
    }

    Hope it helps.

    #1284401
    Andreas Bjerve
    Participant

    Sorry, Sir, you´ll have to stupify that for me… I can´t seem to find that block (and when I thought I did, nothing changed). Grateful for your assistance!

    #1284434
    Christopher
    Moderator

    Hi there,

    Sorry for confusion. Please change ‘Navbar Top Height’ value to smaller number. You may need to update following code as well :

    .x-navbar.x-navbar-fixed-top .desktop .x-nav > li > a {
    height: 60px;
    padding-top: 25px;
    }

    Hope it helps.

    #1284449
    Andreas Bjerve
    Participant

    Nice! Thanks a lot!!

    One last little detail: can we vertically align/center that logo in the navbar after resize? So that it´s closer to the bottom line?

    #1284506
    Paul R
    Moderator

    Hi,

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    .x-navbar.x-navbar-fixed-top .x-brand.img {
           margin-top: 8px;
    }
    
    .x-navbar.x-navbar-fixed-top .x-nav-wrap .x-nav > li > a {
        padding-top:28px;
    }
    

    You may change 8px and 28px to adjust alignment.

    #1284864
    Andreas Bjerve
    Participant

    Perfect! Thank you guys for excellent guidance:D

    #1284902
    Joao
    Moderator

    Glad to hear we managed to help 🙂

    #1286490
    Andreas Bjerve
    Participant

    Hi there!

    A tiny, little detail here. When the Navbar on my page shrinks upon scrolling down, the links “bounce” or move a little upwards before settling. Not sure why… They might as well stay stationary as the navbar shrinks.

    Could you check this out?

    Thanks!

    #1286492
    Andreas Bjerve
    Participant
    This reply has been marked as private.
    #1286511
    Jade
    Moderator

    Hi Andreas,

    If you want the menu items to remain in place when you scroll down, please find this code:

    .x-navbar.x-navbar-fixed-top .x-nav-wrap .x-nav > li > a {
        padding-top: 28px;
    }

    and update it to:

    .x-navbar.x-navbar-fixed-top .x-nav-wrap .x-nav > li > a {
        padding-top: 38px;
    }

    Hope this helps.

    #1286543
    Andreas Bjerve
    Participant

    It did. Thanks a lot! 🙂

    #1286669
    Jade
    Moderator

    You’re most welcome, Andreas.

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