Jump to content

How to remove sidebar on single page 7.0

Go to solution Solved by Regarding,

Recommended Posts

Hi all,

I've been having a hard time removing the sidebar on a single page on Squarespace 7.0.

I located the collection ID and added it to the code below, and then pasted this in the Page Header Code Injection under Advanced. But... no luck. Both the sidebar and the code are showing.

Could anyone help me out with this?

Here is the code:

/* Remove Main Nav */
body#collection-66617a3bd66c3246668fd5c2 nav#mainNavigation
  display: none !important;
/* Remove Secondary Nav */
body#collection-66617a3bd66c3246668fd5c2 nav#mainNavigation nav#secondaryNavigation {
   display: none !important;


Thank you in advance!

Link to comment
  • Replies 2
  • Views 139
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.