How to Add Social Media Icons to Squarespace
Learn how to add custom NiftyButtons social media icons to your Squarespace website using the Code Block method. Works with all templates!
📋 Requirements
- Squarespace Plan: Business plan or higher (required for Code Blocks)
- Access Level: Admin access to your Squarespace site
- Generated Code: NiftyButtons HTML/CSS code from our generator
Note: Code Blocks are not available on Personal plans. You'll need to upgrade to Business or higher.
Step-by-Step Instructions
1. Generate Your Social Media Icons
- Go to the NiftyButtons Generator
- Select your social media platforms
- Enter your profile URLs
- Choose size, colors, and style
- Click "Generate Buttons"
- Copy the generated HTML/CSS code
2. Access Your Squarespace Editor
- Log in to your Squarespace account
- Go to your website dashboard
- Click "Edit" to open the page editor
- Navigate to the page where you want to add icons
3. Add a Code Block
- Click the "+" button where you want to add icons
- Search for "Code" in the block menu
- Select the "Code" block
- The code editor will open
4. Paste Your NiftyButtons Code
- Paste your copied NiftyButtons code into the editor
- Make sure "Display Source" is turned OFF
- Click "Apply" to save the code
- Your social media icons should now appear!
5. Position and Save
- Drag the code block to your desired location
- Adjust spacing and alignment as needed
- Click "Save" in the top left
- View your published site to see the icons live
Popular Icon Placements in Squarespace
Footer Area (Most Common):
- Go to Design → Website Tools → Footer
- Add a Code Block in the footer area
- Icons appear on all pages automatically
Header Area:
- Edit your header in Design → Site Styles
- Add Code Block in available header space
Contact Page:
- Perfect for encouraging social connections
- Place below contact form or information
About Page:
- Great for personal branding
- Add after your bio or story section
Homepage:
- Hero section for immediate visibility
- Bottom of page before footer
Squarespace Styling Tips
Center Your Icons:
<div style="text-align: center;">
[Your NiftyButtons code here]
</div>
Add Spacing:
<div style="margin: 20px 0; text-align: center;">
[Your NiftyButtons code here]
</div>
Match Template Colors:
- Use your site's accent colors in the generator
- Check how icons look with your template's background
- Consider your template's overall design style
Mobile Optimization:
- Choose medium or large sizes for better mobile visibility
- Test on mobile preview in Squarespace editor
- Ensure icons stack properly on smaller screens
Troubleshooting Common Issues
Icons Don't Appear:
- Ensure "Display Source" is turned OFF
- Check that you're on a Business plan or higher
- Verify the code was pasted completely
- Try refreshing the page or clearing browser cache
Icons Look Wrong:
- Check for conflicting template CSS
- Try different icon sizes in the generator
- Test different color options
Links Don't Work:
- Double-check your social media URLs
- Ensure URLs include https://
- Test links in a private browser window
Code Block Not Available:
Code Blocks require a Business plan or higher. Consider upgrading or using Squarespace's built-in social media features as an alternative.
Alternative for Personal Plans
If you're on a Personal plan and can't use Code Blocks, consider these alternatives:
Built-in Social Links:
- Go to Design → Site Styles → Social Links
- Add your social media URLs
- Use Squarespace's default social icons
Upgrade Benefits:
- Custom social icons with NiftyButtons
- Better design control and branding
- Additional business features
- No Squarespace branding
💡 Squarespace Pro Tips
- Use the same Code Block across multiple pages by copying and pasting
- Preview your site on mobile before publishing
- Keep your generated code saved for future updates
- Consider your template's color scheme when choosing icon colors
- Test icon visibility against different section backgrounds
- Update all instances if you change your social media URLs