Jump to content

How to disable CSS on a specific page?

Recommended Posts

Posted

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

  • Replies 2
  • Views 1.5k
  • Created
  • Last Reply
Posted

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

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.