- This topic has 8 replies, 2 voices, and was last updated 1 year, 6 months ago by Tom.
January 16, 2020 at 11:06 am #1134380Lisa
I’ll be working on a website that is going to have a child page menu on the parent and all relevant child pages.
Looking at the help forum, I found the plugin to create custom sidebars for the different pages and using your CSS I was able to force the sidebar above the content on mobile. The custom menu could easily have 6 – 10 links per parent category.
Do you have any code that could compress the sidebar menu with a dropdown similar to the main menu on mobile?
Thank you for your help,
LisaJanuary 16, 2020 at 5:50 pm #1134591TomLead DeveloperLead Developer
If you can add a link above the current menu items (in an HTML widget), I might be able to help with the JS.
Let me know 🙂January 17, 2020 at 6:45 am #1135035Lisa
Yes, in an ideal world a second toggle for the widget menu on mobile is what I’m hoping for. I’m not sure what link you need, though. Is this it? http://l88.e22.myftpupload.com/page-1/ or do you need backend access?
Thank you so much for your help,
LisaJanuary 17, 2020 at 5:44 pm #1135643TomLead DeveloperLead Developer
The only issue I’m seeing here is how to add the toggle into the widget along with the navigation widget. I don’t believe it’s possible to hook a toggle into that standard widget.
Have you considered using our Secondary Nav module? It does this by default: https://docs.generatepress.com/article/secondary-navigation-layout-overview/
Let me know 🙂January 20, 2020 at 4:40 am #1137733Lisa
Thank you for your response. I hadn’t used the secondary navigation before, thanks for letting me know about it. Is it possible to have the secondary navigation be used with different menus? The Page 1 sidebar menu will be different than the Page 2 sidebar menu.
Thanks for your ideas & suggestions,
LisaJanuary 20, 2020 at 10:45 am #1138263TomLead DeveloperLead DeveloperJanuary 21, 2020 at 6:37 am #1139030Lisa
Great idea, I’ll reach out to them and let you know how it goes.January 23, 2020 at 1:07 pm #1141905Lisa
Thanks again for your help. We’ve decided not to have the sidebar menu show on mobile as it will also be in the main nav.
Thank you.January 23, 2020 at 4:16 pm #1142054
- You must be logged in to reply to this topic.