Custom Social Icons with Pseudo-Elements

What You'll Create

Custom social media icons in Squarespace that replace link text with your own icon images. Target specific platforms using URL-based selectors, so each social link gets its unique icon automatically.

The Problem It Solves

Squarespace's built-in social icons are limited to supported platforms. For niche networks, custom branding, or platforms Squarespace doesn't support, you need to add your own icons without editing HTML.

Perfect For

Custom branded social icons, niche platform icons not in Squarespace, matching icon style to brand, icon-only navigation, footer social links

What Makes This Different

Hides the original link text and displays your custom icon image in its place. Targets specific platforms by detecting URLs containing platform names like "instagram". Icons scale crisply at any size.

Details

  • Section Type: Fluid & Classic

  • Code Type: CSS

  • Prerequisites: Code block or text block with links, Custom icon images uploaded

  • Toolkit Title: Multiple Custom Social Icons

Learn This Technique

This is one of 150+ code techniques taught inside Standout Squarespace, where you get:

  • The complete, copy-paste code

  • Video walkthrough explaining how it works

  • The principles behind the technique so you can customize it

  • Access to our private community for support

Get Access to Standout Squarespace →
Previous
Previous

Portfolio Hover Follow Title Spotlight

Next
Next

Top Navigation for Stacked Tabs