Site logo

[Support request] Show secondary navigation as hamburger menu in desktop view

Home Forums Support [Support request] Show secondary navigation as hamburger menu in desktop view

Home Forums Support Show secondary navigation as hamburger menu in desktop view

  • This topic has 3 replies, 4 voices, and was last updated 3 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2121094
    Vish

    Hello

    Is it possible to show the secondary navigation as a hamburger menu (just like mobile) in desktop view as well?

    #2121130
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .secondary-navigation .menu-toggle {
        display:block
    }
    
    .secondary-navigation ul, .secondary-navigation:not(.toggled) .main-nav > ul {
        display:none
    }
    
    .secondary-navigation.toggled .main-nav {
        flex-basis: 100%;
        order:3
    }
    
    .secondary-nav-aligned-left .secondary-navigation.has-top-bar .menu-toggle {
        text-align:left
    }
    
    .secondary-nav-aligned-left .secondary-navigation .top-bar {
        order:2
    }
    #2571497
    Karsten

    Hello, this was helpful for me too.

    Please check my site here. I have a secondary nav above the header.

    I can not figure out how to increase the secondary sub menu font size from 12px to 16px. Please check and advise.

    Thank you

    #2571530
    Leo
    Staff
    Customer Support

    Hi Karsten,

    Glad to hear that you found the post useful.

    Your question is unrelated to the original topic though – can you open a new topic for the font size question?

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.