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

  1. 01

    Open Custom CSS

    Settings → Advanced → Custom CSS. Anything you paste here applies site-wide.

  2. 02

    Find the right selector

    Right-click an element on your site → Inspect. Squarespace uses data-* attributes and section IDs you can target.

  3. 03

    Try a quick win

    Add this to round all images: img { border-radius: 12px; }

  4. 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