Squarespace Custom Social Icons

Adding Custom Social Icons to your Squarespace Website isn’t much different than adding Custom Font. Follow this guide and you’ll be set!

Add Custom Social Icons to Squarespace Website Hero Image

Our client wanted custom social icons in her Squarespace site.

She loves the gold foil look so we used custom code to change the built-in social icons to the gorgeous ones below.

Squarespace Custom Social Icons

Alright, let’s jump right in.

Navigate to Settings > Advanced > Code Injection.

This is a site-wide code injection so it will be applied to every page of your website.

<div id="customsocialicons">
  <div id="socialicons">
    <a href="https://www.twitter.com/username" target="_blank"> <img src="insert-url-here" alt="Twitter"/> </a>
    <a href="https://www.facebook.com/username" target="_blank"> <img src="insert-url-here" alt="Facebook"/> </a>
    <a href="https://www.pinterest.com/username" target="_blank"> <img src="insert-url-here" alt="Pinterest"/> </a>
    <a href="https://www.instagram.com/username" target="_blank"> <img src="insert-url-here" alt="Instagram"/> </a>
  </div>
</div>

If you want to display the icons in the navigation, paste the code in the Header. If you want to display the icons at the bottom of your site, paste the code in the Footer.

Squarespace Custom Social Icons Code

Within the code, replace the social media url link https://www.facebook.com/username with the actual link for your business.

Save your code.

We’ll be heading back to this Code Injection tab here in a minute.

Now, we’re going to upload our custom social media icons.

Navigate to Design > Custom CSS

Select “Manage Custom Files” and upload your custom graphics.

Adding code to Squarespace website for custom social icons
 

Next, you’re going to click on the image and it’s going to generate a URL link.

Copy this in a word document, being sure to label which social media account it corresponds to.

Then delete the link from your code.

How to add images for custom social icons on Squarespace website
 

Once you upload all your graphics and have the URL links head back to your Code Injection (Settings > Advanced > Code Injection).

Now we’re going to replace the "insert-url-here" with the custom graphic url code we just generated.

At this step in the process your site should be looking something like this:

Styled Custom Social Icons on Squarespace Website

All that’s left to do is style it!

Go to Design > Custom CSS

Copy and paste the following code:

// STYLES FOR CUSTOM SOCIAL ICONS BAR

#customsocialicons {
  background: #023333;
  text-align: center;
}

#socialicons a {
  display: inline-block;
  margin: 0px 0px 33px 0px;
}

#socialicons img {
  width: 33px;
}
Styled custom social icons on client’s Squarespace website

That’s it! We hope this resource helped elevate your brand.


Erin Neumann

Professional Copywriter | Strategic Web Designer | SEO Expert

https://www.bealignedwebdesign.com/
Previous
Previous

How to Claim your Business on Apple Maps

Next
Next

Brand your Website for Success