Custom CSS basics for Squarespace 7.1
Where to add CSS, how to target Squarespace's auto-generated classes, and a few copy-paste snippets to start.
7 min read intermediateUpdated Mar 20, 2025
BI
Reviewed by the editorial team · Mar 20, 2025
Step by step
- 01
Open Custom CSS
Settings → Advanced → Custom CSS. Anything you paste here applies site-wide.
- 02
Find the right selector
Right-click an element on your site → Inspect. Squarespace uses data-* attributes and section IDs you can target.
- 03
Try a quick win
Add this to round all images: img { border-radius: 12px; }
- 04
Scope CSS to one page
Use the page's URL slug as a class: body.your-page-slug-here h1 { color: tomato; }
Web Design · Done-for-you
Want us to design and launch your website?
We build sites on Squarespace, Wix, WordPress, Shopify, Webflow and Framer — from blank canvas to live domain.
Book a website call