Site logo

Archived topic

Disable mobile menu on landing page

8 replies · Started by Goran on August 29, 2018

Viewing posts 1–9 of 9

Hi there,

I’d like to disable the menu on a landing page I’m building. I’ve used Disable Elements to disable the top bar, header and primary menu, but while that works on a computer it doesn’t seem to change anything on a mobile device. This is the page:

https://www.sommaroy.no/campain/christmas-offer/

I’ve also tried using some of the code snippets recommended to someone else, but it does not work.

Thanks for help. PS! GP is my new WP-love!

Goran

This is a sort of fixed, turned of the mobile header globally in theme options, but i would like a fix to turn of the mobile menu per page (same as with desktop menu).

Thanks.

Hi there,

currently there is no page level control to do this, but may be added in later updates.
We can provide some CSS to remove it? And if you use Toms Simple CSS plugin:

https://wordpress.org/plugins/simple-css/

It provides a CSS Metabox on the page, so the CSS will only apply there. Let me know.

Hi

Yes, i use Toms Simple CSS, so i happily have some CSS from you.

Thanks!

Goran

Hi Goran,

so do you want to remove the mobile header in its entirety or just the mobile menu element?

Remove the mobile header in its entirety, as i working on a lot of landing pages.

Hi there,

this should do the trick:

#mobile-header {
	display: none !important;
}

Thanks, it worked like a charm! :)

Glad i could help

This archived topic is closed to new replies.