Website Building » Squarespace » How Do I Hide the Header and Footer in Squarespace?

How Do I Hide the Header and Footer in Squarespace?

Last updated on December 21, 2022 @ 4:46 pm

There are many ways to hide the header and footer in Squarespace. One way is to use the Hide Header/Footer option in the Page Settings panel.

This will hide the header and footer on all pages except the home page. Another way is to use CSS to hide the header and footer on specific pages.

To hide the header and footer on specific pages, you will need to edit the code in your site’s CSS file. To do this, go to Settings > Advanced > Code Injection. In the Header box, paste the following code:

#header, #footer {
  display: none;
}

This code will hide the header and footer on all pages of your site. If you only want to hide the header or footer on specific pages, you can add a class to those pages and then use that class in the CSS code. For example, if you wanted to hide the header and footer on all blog posts, you could add a class of “hide-header-footer” to those pages and then use the following code:

PRO TIP: If you are planning to hide the header and footer on your Squarespace site, be aware that this may impact the functionality of your site. In particular, your site may become less responsive and navigation may be affected.

.hide-header-footer #header, .hide-header-footer #footer {
  display: none;
}

There are many ways to hide the header and footer in Squarespace. The Hide Header/Footer option in Page Settings is one way.

Another way is by using CSS code injection. You can add a class to specific pages if you want to Target particular pages for hiding the header or footer.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.