- This topic has 26 replies, 4 voices, and was last updated 2 months, 3 weeks ago by Carsten.
April 13, 2020 at 5:00 pm #1237980TomLead DeveloperLead DeveloperApril 14, 2020 at 8:32 am #1238847Carsten
Try again now, pleaseApril 14, 2020 at 5:02 pm #1239325TomLead DeveloperLead DeveloperApril 15, 2020 at 6:51 am #1239901Carsten
My idea is to have the primary menu as mobile (hamburger) menu, also on desktop, and then the secondary navigation below with a few of the links most used.April 15, 2020 at 5:21 pm #1240823TomLead DeveloperLead Developer
Have you actually added the secondary navigation to your site? The hook won’t work unless it’s on the page.
Without it, you’ll need to hook your own HTML element into the page and style it with CSS.April 16, 2020 at 3:41 am #1241216Carsten
You were right, I didn’t add a secondary menu in the menus settings, sorry about that.
This is new to me, that I could actually add a secondary menu in the settings, please clarify why, and when I instead should add the secondary menu using a hook element?
ThanksApril 16, 2020 at 7:38 am #1241454DavidStaffCustomer Support
You would only add the Secondary Navigation using a Hook element if you want it in a Location that cannot be chosen in Customizer > Layout > Secondary Navigation.
Looking at your original screenshot you can just set its location to Below Header.April 17, 2020 at 3:11 am #1242627Carsten
Thanks, so if I would like to exclude the secondary navigation on my frontpage, I have to use a hook.
Regarding Below Header, there is no such hook location, only an after_header, is this the one, or do you mean a custom hook called below_header?
Thanks againApril 17, 2020 at 4:35 am #1242707DavidStaffCustomer Support
In the Customizer > Layout > Secondary Navigation you can set the Location – the Below Header option places it where you want it ( based on your screenshot ).
And if you want to remove it from the Front Page you can use a Layout Element:
This gives you the option to Disable > Secondary Navigation.April 17, 2020 at 5:22 am #1242764Carsten
Working perfectly, thanks!April 17, 2020 at 5:36 am #1242780DavidStaffCustomer SupportApril 19, 2020 at 5:19 am #1245163Carsten
- You must be logged in to reply to this topic.