Site logo

[Resolved] Add another menu to the main navigation container?

Home Forums Support [Resolved] Add another menu to the main navigation container?

Home Forums Support Add another menu to the main navigation container?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2241696
    Trevis

    Is it possible to add another menu to the main navigation container, after the primary menu?

    I have set up the primary navigation as the standard links to interior pages, but I have also created a separate menu for social media icons, which I would like to position after the primary nav, floating right. The reason I have set it up this way instead of adding the icons to the primary nav is because on mobile, I would like the icons to still appear in the bar, next to the hamburger menu icon, rather than inside the off-canvas panel.

    #2241766
    David
    Staff
    Customer Support

    Hi there,

    you can use a Hook Element or Block Element – Hook type and set the hook to the menu_bar_items.

    https://docs.generatepress.com/article/block-element-hook/

    That appears after the desktop menu / and before the mobile toggle.

    If you use the Block Element you can use the Social Icons block, or use a GenerateBlocks Buttons block to display the icons.

    #2242673
    Trevis

    That is perfect David, thank you once again for your expert assistance. And for pointing out block elements as hooks — I hadn´t discovered that yet. I’m still amazed by GP on a weekly basis, this theme has done wonders for WP site building and your support team is first class. Thanks to Team GP for all of the great work you do and for the thorough help you provide to your users!

    #2243131
    David
    Staff
    Customer Support

    Glad to hear that and thank you for your very kind words, we really appreciate that!

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