# Squarespace Custom CSS: Where It Is and Which Plan You Need

Canonical: https://figment.so/blog/squarespace-custom-css

The Squarespace CSS editor is on every plan, including Basic. JavaScript, iframes in code blocks and Code Injection need Core, Plus or Advanced, and Squarespace support will not fix custom code.

**Squarespace's CSS editor is available on every plan, including Basic, and it is a different tool from Code Injection, which needs Core, Plus or Advanced.** Use the CSS editor to change fonts, colors and backgrounds. Use Code Injection to add HTML and scripts, such as a tracking pixel or chat widget. Everything here comes from Squarespace's Help Center and applies to **version 7.1**, with the one documented 7.0 difference called out where it applies.

## Where do I find the CSS editor?

Open the Custom CSS panel. Squarespace describes the tool this way: "Use the CSS editor to customize your site beyond the built-in styling options with CSS code" ([Squarespace, "Add custom CSS to your site"](https://support.squarespace.com/hc/en-us/articles/206545567-Using-the-CSS-Editor)). To use it:

1. Open the Custom CSS panel.
2. Click **Open in New Window** if you want the editor in an expandable window. Squarespace notes this window "will close if you navigate away from the Custom CSS panel."
3. Add your code.
4. Click **Save** to publish your changes.

If the editor flags a syntax error that a CSS validator does not, the reason is that its "CSS Editor syntax checking system is a parser, which tests what's going to work in different browsers."

## Which plans allow custom CSS and which need a paid plan for code?

The CSS editor is on all plans. JavaScript, iframes and Code Injection need Core or higher. Squarespace's custom-code overview lists each tool ([Squarespace, "Add custom code to your site"](https://support.squarespace.com/hc/en-us/articles/205815928-Add-custom-code-to-your-site)):

| Tool | What it's for | Plan requirement |
| --- | --- | --- |
| CSS editor | Site-wide styling: fonts, colors, backgrounds | "The CSS editor is available on all plans." |
| Code blocks (HTML, Markdown, CSS) | Rendering code or embeds on a specific page | "On all plans, code blocks support plain text, HTML, Markdown, and CSS code surrounded by `<style></style>` tags." |
| Code blocks (JavaScript, iframes) | Third-party widgets and scripts on a page | "Adding JavaScript or iframes to code blocks is available in the Core, Plus, Advanced, and some legacy billing plans." |
| Code Injection | HTML/scripts in the header, footer, or specific pages sitewide | "Code injection is available in the Core, Plus, Advanced, and some legacy billing plans." |
| Embed blocks | External content using the oEmbed standard (video, social posts) | "Embed blocks are available on all plans." |
| Developer Platform | Full template-level development | "The Developer Platform is only available in version 7.0 on the Core, Plus, Advanced plans." |

Squarespace does not support server-side code on any plan: "Squarespace doesn't support server-side code, including PHP, Ruby, Ruby on Rails, and SQL." Custom CSS and Code Injection both run in the browser only. For what each tier includes, see our [Squarespace pricing guide](/blog/squarespace-pricing).

## What is the difference between Custom CSS and Code Injection?

Custom CSS styles the site, and Code Injection adds scripts. Squarespace says: "Use the CSS editor to customize your site beyond the built-in styling options. CSS should only be used to change fonts, colors, and backgrounds. Other CSS changes could potentially harm your site." Code Injection is described as a way to "add HTML and scripts that enhance specific parts of your site." Squarespace's examples are live chat services, domain verification for a custom email service, and site analytics.

Our [guide to Squarespace Code Injection](/blog/squarespace-code-injection) shows where each field lands (header, footer, a single page, blog posts, the password lock screen and the two post-checkout pages). It also confirms Squarespace's advice that CSS belongs in the CSS editor, even though Code Injection accepts a `<style>` block.

## How do I upload an image or font to use in my CSS?

Use the CSS editor's own asset upload tool, which is separate from your media library:

1. Click **Custom Files** (in version 7.0, the button reads **Manage Custom Files**).
2. Click **Add images or fonts**, or drag files into the upload area. If the upload area does not open, check that pop-ups are enabled in your browser.
3. To use an uploaded file, place your cursor in the code where you need the URL and click the file. "The CSS Editor automatically pastes the direct URL for that file so you can reference it in your code."

The Custom Files area accepts `.jpg`, `.png`, `.gif` and `.webp` for images, and `.ttf`, `.otf` and `.woff` for fonts. To use a font across your site's text, Squarespace points you to its separate font upload tool instead. See our [Squarespace fonts guide](/blog/squarespace-fonts) for supported formats and per-style upload rules.

File URLs are generated as secure (`https`) or insecure (`http`), depending on whether SSL is enabled when you upload. If you turn SSL on or off later, Squarespace recommends updating the file URLs in your CSS: open the CSS editor, click **Manage Custom Files**, click the file, and change the URL to start with `https`.

## Will my custom CSS survive a template switch?

On version 7.0, it stops applying but is not deleted. Squarespace says: "If you have a version 7.0 site, custom CSS doesn't transfer when you switch templates. If you switch back to a previous template, the CSS you added to it will still be there." Squarespace's page states no equivalent warning for 7.1, where templates work differently. Check your own site before a template change on 7.1.

## What won't Squarespace support help with?

Custom code, including CSS. Squarespace says: "Adding code to your site is an advanced modification that falls outside the scope of Squarespace support." The CSS editor's page adds: "Custom code might break your site's appearance or behavior, especially on mobile devices. Our support team can't help you add custom code to your site or troubleshoot issues that arise from using it."

Squarespace redirects you to:

- **The Squarespace Forum**, a peer-to-peer community.
- **Squarespace Circle**, described as "a community of creative professionals who may be able to answer more technical questions."
- **A Squarespace Expert**, if you do not have coding knowledge and want someone else to do the work.
- Third-party coding references that Squarespace recommends for tutorials and syntax help, including W3Schools, MDN and Stack Overflow.

If your code stops appearing without a visible error, Squarespace lists causes to check first. Being logged into your own site can hide code that runs over `https://`, so test in an incognito window. Code on a page nested inside an index may not render. Ajax loading can occasionally conflict with custom code, anchor links and URL redirects.

## What should I do if I need custom code beyond CSS?

- **Changing fonts, colors or backgrounds:** use the CSS editor. It is on every plan, including Basic.
- **Adding a script, tracking tag or third-party widget:** use Code Injection or a code block with JavaScript. Both need Core, Plus, Advanced or an eligible legacy plan. Check your plan against [Squarespace's pricing page](https://www.squarespace.com/pricing).
- **Needing server-side logic** such as a database, a backend script or a custom form processor: Squarespace does not support that on any plan or version, so you need a different tool, not a higher plan.
- **Something stopped working after a template or SSL change:** check the causes above (7.0 template switches, `http` and `https` file URLs, Ajax conflicts) before you assume a rebuild.
