Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Replicate 3rd level off canvas menu presentation on desktop

  • hey there,
    my client wants the new 3rd level nav items, displayed underneath the 2nd level (on desktop)
    screenshot
    somewhat like it is on the off canvas menu
    screenshot
    can you provide some guidance on how to achieve this please?
    thanks heaps 🙂
    Jason

  • Hi there,

    Go to cusotmizer > layout > primary navigation, set Navigation Dropdown to click - menu item or click - arrow.

    Let me know if this helps!

  • hey Ying,
    well, that was pretty obvious (sorry about that).
    click menu works, how would you recommend replicating the arrow (from the off canvas menu)?

  • Hi there,

    What did you choose for the Navigation Dropdown setting? By default, the arrow should appear whenever a menu has a submenu.

  • hey Alvind,
    i did wonder about that, i chose click – menu item
    when i chose click – arrow the sub menu didn’t even appear…

    ahhh, i know why, some custom css was hiding the arrow from the top level.

    .menu-item-has-children .dropdown-menu-toggle {display:none;}
    i need to keep it hidden on the top level, but displayed on the sub menus.
    any advice on that?

  • Hi there,

    you can hide just the top level items dropdown toggles with this CSS:

    
    .main-navigation .main-nav>ul>li>a>.dropdown-menu-toggle {
        display: none;
    }
    

    If you want it to only affect the off canvas then change the CSS to:

    
    .slideout-navigation .main-nav>ul>li>a>.dropdown-menu-toggle {
        display: none;
    }
    
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.