Jump to content

How to remove sidebar on single page 7.0

Go to solution Solved by Regarding,

Recommended Posts

Posted

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!

  • Replies 2
  • Views 913
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution
Posted

I also tried this under the general CSS box (not the page header injection). No luck...

#collection-66617a3bd66c3246668fd5c2 {
  #headerWrapper {
    display: none;
  }
}

Posted

Update: Just refreshed my page hours later and it worked?! If anyone is trying this in the future, it *might* be different for different templates...I use Wells for reference.

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.