Jump to content

How to add Fontawesome Icon to buttons

Recommended Posts

Hello,

I am wondering how to add Fontawesome icons to specific buttons? I've screenshotted an example and have posted it below. 

If anyone is willing to help, I would greatly appreciate it.

image.png.1467d7a72d45a0bea9cdee43e4073fa4.pngimage.png.50ec5241b8359de081d08804b9c6790e.png

Edited by Tim32
Link to comment
  • Replies 9
  • Views 387
  • Created
  • Last Reply

Top Posters In This Topic

13 hours ago, Tim32 said:

Hi Tuanphan,

Thank you very much for responding. I've tried following the steps you have suggested, but for some reason I am not seeing anything happen on the site.

Can you share link to page where you use button?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 8/20/2024 at 12:17 AM, Tim32 said:

I believe this link will take you to the page. It's on the homepage, near the footer where we say "Get Involved & Connected" and then have various clickable buttons available. https://saffron-blue-79gn.squarespace.com/

Thank you very much!

The site is private, I can't access it. You can follow this.

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

 You can follow step #1 in this guide

Next, use CSS code like this

div#block-96df7317e462ddcc6c73 a:before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    font-size: 16px;
}

image.png.533fa59aa698cf96ee4a873339a2e474.png

div#...73 is button block ID. Follow this to find ID

\f095 is icon ID, you can access FontAwesome site, click on a FREE icon > Find this

image.thumb.png.0dcdce9d499f722f584799b6bbe92ac9.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.