Site logo

[Resolved] Disable elements for Tablet and Mobile views

Home Forums Support [Resolved] Disable elements for Tablet and Mobile views

Home Forums Support Disable elements for Tablet and Mobile views

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #354160
    Sarah

    Hi Tom, I’m creating a sales page on a client’s site and they have requested to remove all distractions so I’ve disabled all elements on the page. Unfortunately I’m still getting the sticky navigation and burger menu appearing at the top of the Tablet and Mobile views – how can I stop this happening? I’ve got your Simple CSS plugin installed, so can stick CSS for the page in it. Thanks for your help! 🙂

    #354178
    Leo
    Staff
    Customer Support

    Hi there,

    Try adding this CSS in the metabox of the pages you don’t want the main navigation to show at all:

    .main-navigation {
        display: none;
    }

    Let me know if this is what you are after.

    #354232
    Sarah

    Hi Leo, unfortunately that hasn’t worked. The sticky nav bar is still visible on tablet and mobile view. Here’s another page on the site that I need to disable it on too, so you can have a look – https://clearfocus.consulting/discoverycall/

    #354349
    Leo
    Staff
    Customer Support

    Can you try disabling the mobile header? https://docs.generatepress.com/article/mobile-header/

    #354457
    Sarah

    Hi Leo, that’s done the trick! Thank you 😀

    #354629
    Leo
    Staff
    Customer Support

    No problem!

    #760757
    yig

    Hi there,

    Is it possible to find a solution to this without disabling the mobile header?

    I have disabled all elements on a page as well, but when I turn the mobile header on, it still appears on the pages with all disabled elements.

    (Because I would prefer to keep the sticky mobile header on regular pages.)

    Thanks.

    #760761
    Leo
    Staff
    Customer Support

    Hi there,

    This topic is a bit old.

    Can you start a new one and link us to the page in question?

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Disable elements for Tablet and Mobile views’ is closed to new replies.