Jump to content

how can i use font wesome on custom css using before or after?

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

For example this icon https://fontawesome.com/icons/twitter?s=solid&f=brands

See this red arrow

image.thumb.png.c535b70a55bb66e8f45342e597606be0.png

Add it to code

p strong:before {
	content: "/f099";
	font-family: "Font Awesome 6 Free";
}

Depending on the FA version you declared in Code Injection, you need to use the appropriate font-family

 

Edited by tuanphan

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 9/16/2022 at 1:03 AM, Munna said:

wherei can find the code for different icon. 

Access Fontawesome website >> Find icon > Click on each icon > Look right

image.thumb.png.c535b70a55bb66e8f45342e597606be0.png

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.