aislinfall Posted July 12, 2019 Share Posted July 12, 2019 Can you remove the navigation sidebar from certain pages without premium ability to add CSS to individual pages? Link to comment
paul2009 Posted July 12, 2019 Share Posted July 12, 2019 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: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
aislinfall Posted July 12, 2019 Author Share Posted July 12, 2019 The "PAGE HEADER CODE INJECTION" where you can add CSS to affect a specific page is a premium feature. Everyone I've seen sharing code to remove the nav bar has been putting it there. Here's the link! https://aislinfall.com/ Link to comment
aislinfall Posted July 12, 2019 Author Share Posted July 12, 2019 The "PAGE HEADER CODE INJECTION" where you can add CSS to affect a specific page is a premium feature. Everyone I've seen sharing code to remove the nav bar has been putting it there. Here's the link! https://aislinfall.com/ Link to comment
tuanphan Posted July 12, 2019 Share Posted July 12, 2019 @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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
paul2009 Posted July 12, 2019 Share Posted July 12, 2019 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: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
aislinfall Posted July 12, 2019 Author Share Posted July 12, 2019 Amazing! That worked. Thank you. :) I don't suppose you know how to remove the logo too? Link to comment
aislinfall Posted July 12, 2019 Author Share Posted July 12, 2019 Amazing! That worked. Thank you. :) I don't suppose you know how to remove the logo too? Link to comment
tuanphan Posted July 12, 2019 Share Posted July 12, 2019 @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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.