Jump to content

FontAwesome Icon next to text

Recommended Posts

Hello!

I'm trying to add an icon using html and FontAwesome. When i insert the code block HTML, the text doesnt align, but the line breaks. 

Any suggestions please?

 

This is the HTML code. 

<i class="fa-solid fa-check fa-2xl"style="color:#E7862C"></i>
  
<p style="color:white;font-size:40px;">ebt</p> 

 

I guess i need to add an css code for the block id? 

 

example.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

<p style="color:white;font-size:40px;"><i class="fa-solid fa-check fa-2xl"style="color:#E7862C"></i> ebt</p> 

Try this instead, planning the icon within the paragraph.

Can you share the website URL?

 

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.