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
  • Views 166
  • 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 helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

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.