Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1362483
    Timmid
    Participant

    Hi X-Theme,

    I have a website with a shrinking menubar on scroll. This works great, but now i have added a submenu. When the menu is smaller on scroll the submenu is floating under the menu. Is it possible to move the submenu up when the menubar is smaller?

    Thx!

    #1362491
    Timmid
    Participant
    This reply has been marked as private.
    #1362598
    Christopher
    Moderator

    Hi there,

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

    .x-navbar.x-navbar-fixed-top ul.sub-menu {
        top: 69px !important;
    }

    Hope that helps.

    #1362647
    Timmid
    Participant

    Works great, thank you!

    I see the font in the sub menu is not the same as in the main menu. How can i change this?

    #1362737
    Christopher
    Moderator

    Hi there,

    You’ve already modified submenu font, please find and edit this code :

    ul.sub-menu li a {
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
    }

    It should be :

    ul.sub-menu li a {
        font-size: 16px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: -0.025em;
    }

    Hope it helps.

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