How to add custom code to Squarespace

Squarespace can do a lot of cool things, but when you want to push past those template limitations, custom code is the best way to make your site unique. You’ve got a few different ways to add code, and this guide will help you figure out the right method for your project.

CSS vs. JavaScript

  • CSS (Cascading Style Sheets): Changes how your site looks; fonts, colors, spacing, hover effects, all that good stuff. CSS can not break your website because it can’t change the way it works.

  • JavaScript: Changes how your site acts; things like animations, pop-ups, or third-party tools. Javascript can change the way your website works, so use it with caution!

Pro Tip: You can add CSS and HTML on any Squarespace plan, but JavaScript requires Core or higher.

Adding custom code to individual pages changes based on the page type.

Previous
Previous

Installing Custom Code

Next
Next

Using Unique IDs