Archived topic
Remove mobile header on landing pages
5 replies · Started by Emma on April 13, 2020
I am working on a website where I need to create a couple of landing pages with no header or footer. The option to not display the header and footer works fine when on desktop, however, in mobile view, the mobile header is still visible. Is there any way to remove this as I would really like all my landing pages to have no header or footer on both desktop and mobile.
Hi Emma,
Can you try this PHP snippet?
https://generatepress.com/forums/topic/gp-1-9-0-update/#post-1069229
Adding PHP: https://docs.generatepress.com/article/adding-php/
Let me know :)
Hi, sorry to come back to an old post but I never got this issue sorted. I can remove the header on desktop but it is still visible on mobile view (the PHP snippet recommended does not seem to work).
I would really like to be able to disable the header on specific landing pages in the mobile view as well as desktop.
Hi there,
theres the option to Disable the Mobile Header:
https://docs.generatepress.com/article/disable-elements-overview/
Amazing! I didn't even notice that had been added. Thanks :)
Its a more recent update :)
Glad to be of help