[Support request] several (drop down) menus in secondary navigation

Home Forums Support [Support request] several (drop down) menus in secondary navigation

Home Forums Support several (drop down) menus in secondary navigation

  • This topic has 9 replies, 3 voices, and was last updated 1 week, 1 day ago by Fernando.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2318889
    Helmut

    Hi, I want to do this:

    I am using a secondary navigation menu and I want to try to add a drop down menu into this – e.g. all the categories (or some pages..)
    Is it possible to do so?

    https://schooltools.at/

    #2319296
    Leo
    Staff
    Customer Support

    Hi there,

    Not sure if I fully understand.

    Have you tried creating a menu using the WP menu builder:
    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#creating-a%C2%A0drop-down-menu

    Then assign it to be the secondary navigation?
    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-location

    Let me know 🙂

    #2319655
    Helmut

    Hmm..as far as I understand, I can assign a menu TO BE the secondary menu.

    What I am trying is this:
    Using more than one drop down menus in the menu bar (where the secondary is located).

    So f.e.
    drop down menu 1: Page 1, Page 2, Page 3…
    drop down menu 2: category 1, 2, 3….

    #2319682
    Fernando
    Customer Support

    Hi Helmut,

    It’s possible.

    In Appearance > Menus. Create a new menu for your secondary menu.

    Then a custom link, and its URL should be #.

    Then, add the categories, and place them under as a sub page of the custom link.

    #2319699
    Helmut

    Hi Fernando, I see how this works, BUT: if I do so, the other drop down menu in the secondary menu disappears. As far as I see, I can just assign ONE menu to the secondary menu bar.

    What I want to do is to assign at least to or three drop down menus to appear there.

    #2319705
    Fernando
    Customer Support

    Why not add the Menu Items from different menus in one menu so that they all appear in the secondary nav?

    #2319723
    Helmut

    this is a possibility, of course. But for me 2 drop down menus would make more sens – one for sites / topics and the second one for all categories. And f.e. a third one with all contact possibilities. If I put them all in together, there is pretty much unused space…

    I’ve seen that there are a few plugins wich do so, but I am not sure if they work with GP premium.

    #2319731
    Fernando
    Customer Support

    What you can do if you want different menus in the Secondary nav is to add the other menus through a Block Element hooked to inside_secondary_navigation.

    #2351471
    Helmut

    I had time to work on this – and this works quit well.

    Just one thing; I want one Link to a page and the drop down menu to be shown next to each other (align left).
    Now the drop down menu is left and the other Links are centered (but should be left).

    *edit* I’ve found another solution, I made a menu directly in the customizer-section – and this worked as well.

    #2353536
    Fernando
    Customer Support

    I see. Glad you found the solution!

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