Jump to content

How to disable CSS on a specific page?

Recommended Posts

How can I disable a CSS on my "Homepage"?

I added CSS shadows and outline to my product boxes to affect the entires webpage. But I dont want that effect on my homepage.

Screen Shot 2020-12-08 at 10.48.43 AM.png

Link to comment
  • Replies 2
  • Views 1.3k
  • Created
  • Last Reply

You can edit your CSS using the not pseudo-class and target your collection-id for the homepage.

so something like this to start

:not(#collection-5f9722023f10e61e75ccc8bb) {

here's how to find collection-ids: https://christyprice.com/squarespace-tips-tricks/how-to-find-block-section-ids-squarespace

christyprice.com  🇺🇸 Austin, TX US 

 Get my 100+ item Client Process Checklist for $17.
📔 Flourish Journal for Creative Entrepreneurs - 365 days of prompts
🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz)
🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023

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.