Skip to content
All Answers
Headers

How do I hide the header on mobile in Squarespace?

Use a media query targeting screens below 768px to hide the header on mobile. This is useful for landing pages or apps where you want a clean mobile experience with no navigation.

Keep in mind that hiding the header on mobile removes all navigation — make sure users still have a way to get around your site, like in-page links or a footer menu.

@media screen and (max-width: 767px) {
  #header {
    display: none !important;
  }

  .content-wrapper {
    padding-top: 0 !important;
  }
}
Explore more mobile CSS tricks in our CSS CheatsheetTry it free →

Related Questions

Headers

How do I hide the header on a specific page in Squarespace?

Headers

How do I change the header background color in Squarespace?

Headers

How do I make the header transparent in Squarespace?

Headers

How do I reduce the header height in Squarespace?

A little over your head?

No shame — this stuff is hard. Let the pros handle it.

Long Drive MarketingTalk to Long Drive Marketing →