Site logo

Archived topic

Menu Help

1 reply · Started by Rob on January 14, 2019

Viewing posts 1–2 of 2

Hey Guys,

I'm trying to achieve a Third menu. Or a easy way to recreate the below.

I'm using the Primary and Secondry Menu already. Thought if using Top Bar, but the drop down is disabled via CSS. My idea was to add the "My Account" drop down either in the top bar, or in a menu. I have a plugin that basically shows certain menu elements depending on if you are logged in or out. Ideal for My Account, but it has to be a menu.

I have followed this guide Here to create a third menu, then im using the header widget to place it where I want, but I have to then register it with the theme so I can style it properly. <?wp_nav_menu( array( 'theme_location' => 'new-menu', 'container_class' => 'new_menu_class' ) ); ?>

I have tried putting that in my functions.php in GP Child theme, alas it doesnt do anything, just duplicates the Menu on the page. Where would I put that code?

Or if there is a better way to add another menu that you can think of? Is it possible to "clone" the secondry menu and then style it seperately?

Im using this link and want the menu in the header like they have, but it also has to behave like theirs in responsive mode. They have somehow merged it with the main menu only in mobile mode.

This archived topic is closed to new replies.