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; }

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

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.