- This topic has 9 replies, 3 voices, and was last updated 1 year ago by
Fernando.
-
AuthorPosts
-
August 21, 2022 at 3:53 am #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?August 21, 2022 at 11:02 am #2319296Leo
StaffCustomer SupportHi 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-menuThen assign it to be the secondary navigation?
https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-locationLet me know 🙂
August 22, 2022 at 12:07 am #2319655Helmut
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….August 22, 2022 at 12:43 am #2319682Fernando 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.
August 22, 2022 at 1:01 am #2319699Helmut
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.
August 22, 2022 at 1:08 am #2319705Fernando Customer Support
Why not add the Menu Items from different menus in one menu so that they all appear in the secondary nav?
August 22, 2022 at 1:38 am #2319723Helmut
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.
August 22, 2022 at 1:44 am #2319731Fernando 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
.September 23, 2022 at 3:36 am #2351471Helmut
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.
September 25, 2022 at 5:03 pm #2353536Fernando Customer Support
I see. Glad you found the solution!
-
AuthorPosts
- You must be logged in to reply to this topic.