- This topic has 3 replies, 2 voices, and was last updated 5 years, 3 months ago by Tom.
July 21, 2015 at 4:36 pm #122768James
Hello again! I want to thank you for your help earlier but I have a new question that may or may not even be related to the theme. Forgive me if this is the incorrect place.
I’m setting up a site and I’ve created a menu to serve as the navigation. Most of the pages are nested in under “#” links and it works perfectly for the desktop version of the site. My problem is that this functionality carries over into the mobile version where it’s proving to be fairly intrusive. What I’d like to do is set it up such that there are no nested pages on the mobile version and instead show it as you would the navigation normally, with only the pages being visible.
I’m attaching some pictures that hopefully make more sense than I feel like I could.
What happens when you tap the menu to bring up the navigation. This is how it looks on the desktop version except upon mouseover of the relevant category it’ll display the pages nested within. Clicking on any of the categories simply reloads the page adding “#” to the url.
This is what I would like to actually have when viewing the site via mobile. Remove the categories entirely and instead offering just the pages that were previously nested with sorting being done by the normal WordPress page hierarchy system.
I hope that makes sense and thank you again for your help!July 21, 2015 at 11:43 pm #122819TomLead DeveloperLead Developer
Hmm, kind of a tough one!
It’s not really possible to hide the parent items, as the child items are within the parents. So if you hide the parent item, the children go with it.
I do have plans to allow users to specify a different menu to display on mobile – just not quite there yet.
For now though, this plugin may work better for you: https://wordpress.org/plugins/generate-legacy-mobile-menu/
It will allow you to tap the parent item to show the child items – it won’t refresh the page.
I’ll see if I can come up with any other solutions in the meantime 🙂July 24, 2015 at 1:35 pm #123376James
Thank you that would work perfectly!July 24, 2015 at 11:46 pm #123415
- You must be logged in to reply to this topic.