[Resolved] Off Canvas sub-menus not displaying & no dropdown arrow

Home Forums Support [Resolved] Off Canvas sub-menus not displaying & no dropdown arrow

Home Forums Support Off Canvas sub-menus not displaying & no dropdown arrow

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1209522
    Marcel

    I have setup submenus on my Primary Navigation. In desktop mode, the submenus work.

    But when I use the Off Canvas (mobile only) with the Primary Navigation menu, there are no submenu indicators, nor do the submenus show.

    #1209526
    Marcel

    This is what CSS seems to work:

    #generate-slideout-menu.main-navigation ul ul { display: contents}
    #generate-slideout-menu .sub-menu li {padding-left:2em}

    #1209742
    David
    Staff
    Customer Support

    Hi there,

    thats odd – and not how the Off Canvas and sub menus are meant to work – if you want to remove the CSS and let me take a look i am more than happy to do so. Let me know

    #1210084
    Marcel

    Thank you, I have removed that code from my css now. You’ll see that the submenus on the slidebar are now hidden.

    #1210115
    Leo
    Staff
    Customer Support

    I believe that’s because you are using a menu widget.

    Can you try assigning a menu to the off canvas panel instead?
    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-location

    Let me know πŸ™‚

    #1210121
    Marcel

    Well, I mean, now that you tell me, that’s obvious. Thank you very much!!

    #1210211
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

    #1314765
    fabiosilva

    Hi, Leo!

    About this topic, any way to assign two menus on off canvas menu?
    For example, I would create two menus inside Off Canva: First to main navigation and a second menu to wocommerce products categories.

    Thank you!

    #1314810
    Leo
    Staff
    Customer Support

    Can you open a new topic for the question?

    Thanks πŸ™‚

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