Jump to content

How can I remove the navigation sidebar from certain pages?

Recommended Posts

  • Replies 8
  • Views 2k
  • Created
  • Last Reply

CSS isn't a premium feature. You can use it on all sites.

Whether or not you can remove the sidebar will depend on the site configuration and template. For specific help, please provide a working link to your site.

About me: I'm Paul. A SQSP User for 18 yrs, I've been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

@aislinfall Each Page will have different page ID (body#collection....)

To remove the navigation sidebar from certain pages,

First, you need to find page ID. See how to: https://beaverhero.com/squarespace-how-to/#HowtoFindPageID

Then, use CSS (Home > Design > Custom CSS).


/* Remove Nav Contact Page */
/* Remove Main Nav */
body#collection-5cc397d4c830255be29a27fc nav#mainNavigation {
  display: none !important;
}
/* Remove Secondary Nav */
body#collection-5cc397d4c830255be29a27fc nav#mainNavigation nav#secondaryNavigation {
   display: none !important;
}


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Code Injection is indeed a premium feature, but you don't need to use this to add CSS to a specific page. In fact, it is considered poor practice to do this nowadays.

As @tuanphan explains below, Custom CSS can easily target specific pages by using 'Collection IDs' - unique IDs that Squarespace creates for each page on the platform.

About me: I'm Paul. A SQSP User for 18 yrs, I've been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

@aislinfall


/* Remove Logo Contact Page */
body#collection-5cc397d4c830255be29a27fc .logo.image {
   display: none !important;
}

and there is "Accept Answer" button. Other members can know CSS worked. And they can use it.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.