Jump to content

Removing mobile menu from single page

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://www.simonu.nl/dansen

Hi all,

 

I am looking to remove the mobile menu from a single page (www.simonu.nl/dansen) of my website. I just want the page to be a blank page with just one photograph shown. I did add the following code to the page's advanced inject custom code menu:

 

<style>#header, #mobile.bar, #footer {display: none !important; }</style>

 

This removed all emelents from the page on desktop. But on mobile the drop-down menu stays. How do I remove the mobile menu as well?

Any help would be much appreciated!

Thanks in advance,

Simon

Edited by simonuh
Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution
1 hour ago, simonuh said:

Site URL: https://www.simonu.nl/dansen

Hi all,

 

I am looking to remove the mobile menu from a single page (www.simonu.nl/dansen) of my website. I just want the page to be a blank page with just one photograph shown. I did add the following code to the page's advanced inject custom code menu:

 

<style>#header, #mobile.bar, #footer {display: none !important; }</style>

 

This removed all emelents from the page on desktop. But on mobile the drop-down menu stays. How do I remove the mobile menu as well?

Any help would be much appreciated!

Thanks in advance,

Simon

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #collection-63244ec4b52939505c480449 #mobileNav {
    display: none;
  }
  #collection-63244ec4b52939505c480449 #mobileMenuLink {
    display: none;
  }

  #block-63244ec4b52939505c48044a {
    display: none;
  }
}

Let me know how it works on your site

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.png.b871b5faa170a1af49470998fab7a15f.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.