
Button design can be a little limiting in a Squarespace site, but this tutorial will help you change that! Weβll take a standard on-page button and add a custom icon to it in two unique ways.
β
This is just the start of all the cool things you can do with custom CSS! Learn the basics in my free class: https://insidethesquare.co/learn
β
In this tutorial, we are going to add an icon after the text to a button in a Squarespace website. Sounds simple, and it is! Well, kind of π
The tricky part is saying the right name for the right button!
There are over 15 different types of buttons with unique names in Squarespace.
For newsletter buttons, list section buttons, image buttons, and plenty of others youβll need to use its specific code name (selector) in your code.
If you want to add an icon to all the small, medium, and large buttons background colors, this code will do that for you:
.sqs-block-button-element:after{content:βββ}
Here is a link to my list of unicode characters compatible with most fonts in Squarespace: https://insidethesquare.co/unicode
If you want to isolate just the small, add ββsmallβ to the end of the code name (Selector) above, like this: .sqs-block-button-elementβsmall:after{content:βββ}
If you only want to change a single button, you can add the block ID to the start of the code.
#block-123456 .sqs-block-button-element:after{content:βββ}
If you donβt know the block ID, you can use this chrome extension to find out what it is. InsideTheSquare is not affiliated with this extension or its creators, just a fan! https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde
To use a custom font, try this code:
.sqs-block-button-element:after{
content: βmβ;
font-family: βYour-Font-Hereβ!important;
}
Here is a tutorial on how to install a custom font in Squarespace: https://insidethesquare.co/squarespace-tutorials/custom-font
β β β
π RELATED VIDEOS π
How To Target One Thing in Squarespace with Code: https://youtu.be/h8qfZdaATbU
How to use a custom font in Squarespace: https://www.youtube.com/A0a-eiP1iTc
How use an image for a button background in Squarespace https://youtu.be/vvaPZW72A_w
β β β
πΈ GET 10% OFF YOUR FIRST YEAR OF SQUARESPACE πΈ
Use my affiliate link and code PARTNER10 β Youβll save 10% off your first annual subscription & Squarespace will give me a little commission for sending you their way π
π PARTNER10 β https://insidethesquare.co/partner10
β β β
π€© Download over 60+ pages of custom codes and pro tips for customizing Squarespace in one awesome PDF. Order the Squarespace CSS Cheat Sheet, available now at π https://insidethesquare.co/css
β
π Need some help? Visit βhttps://insidethesquare.co/code-helpβ to see my current support options.
β
π₯° SUPPORT MY CHANNEL β https://paypal.me/insidethesquare
π» WEBSITE β https://insidethesquare.co
π§ NEWSLETTER β https://insidethesquare.co/email
π€³ INSTAGRAM β https://www.instagram.com/thinkinsidethesquare
π FACEBOOK β https://business.facebook.com/insidethesquare
π PINTEREST β https://www.pinterest.com/insidethesquare
β
The term βSquarespaceβ is a trademark of Squarespace, Inc. This video was not approved or endorsed by Squarespace, Inc. I just really love their platform β₯