Archived topic
Specify a different menu for mobiles
11 replies · Started by Rachael on June 15, 2017
Hi, is there a way to set a different menu for mobile devices please? I need to add in two additional pages but within the mobile menu only (they don't need to be in the desktop menu). Thanks.
Hi there,
You can create a new menu:
https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#create-a new-menu
Then set it to slideout menu:
https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#setting-a-theme-location
Thank you. But if I tick Secondary menu, it adds another menu. If I tick Slideout, it doesn't work.
Hmm slideout menu should work for mobile. What do you mean by it doesn't work? The menu doesn't change?
Can you provide a link to your site?
http://www.scholarshipsandbursaries.co.uk/dev/
That's right, the mobile menu doesn't change. I can see it showing the right menu in the admin panel, but on my ipad (portrait) and on my iphone, it's not displaying the mobile menu.
Hmm it should work.
Are you using any caching plugins or server cache?
No, not at the moment.
Sorry just to make sure...Currently you have two menus created, one is set to Primary and the other is set to Slideout?
Yes. That's right.
Can you make sure this is set to mobile only?
https://docs.generatepress.com/article/activating-slide-out-navigation/
OK. Yes I've set that and it's working now. Thank you for your help!
No problem!