We’ll cover how to add inject Font Awesome code into the header of your Squarespace(opens new window) website, and add them via code blocks into the body of your site.
Before You Get Started
Make sure you:
Have set up a Font Awesome Kit and have copied the Kit embed code.
Add Your Kit Embed Code to Your Squarespace Header
From the dashboard of your Squarespace website, use the side menu to visit Settings. Next, navigate to Advanced, and then Code Injection. Paste your unique Kit embed code into the Header section. Be sure to save.
Adding your Kit embed code to Squarespace.
Your code will look similar to this (with the YOUR-KIT-ID replaced by your Kit's unique ID):
From any page in your Squarespace website, follow their instructions for adding a code block(opens new window). With the code block open, edit the HTML content to display a Font Awesome icon.
Reference an icon in your Squarespace code block.
From here, you can add any of our icons by following How to Add Icons. For example, to add the Solid style of our camera-retro icon (a free icon), you can add it as an <i> tag to the code block like this:
<iclass="fa-solid fa-camera-retro"></i>
To add an icon from one of our Pro styles, like Duotone, you can add it as an <i> tag to the code block like this: