Jump to content

Hide hovering homepage thumbnail + hamburger menu on mobile

Recommended Posts

Hi there,

I am setting up a blog page that I want to be a standalone entity that doesn't include the navigation bar and header thumbnail that typically appear on my website. 

I have been able to successfully hide these elements by adding the following code in Settings > Advanced > Page Header Code Injection:

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

But when I visit the page on mobile, the elements return. Is there a modified version of the code that will successfully hide them on this blog page (without making them disappear from the other pages on my website)?

Thanks for your help!

Link to comment

Adjust your page code injection:

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

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.