Jump to content

FontAwesome Fonts show when I edit but doesn't show on my main Website

Recommended Posts

Website: https://www.kolapoakinwumi.com/keris

So I've been adding font icons to my website. They show up when I go into the editor, but they disappear on my live page. 

My CSS:

@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css);

html {
  scroll-behavior: smooth;
}

Sample HTML code for an Icon:

<i class="fa fa-gamepad fa-5x fa-fw" aria-hidden="true"></i>

Can anyone identify the issue? Thank you!

Screen Shot 2023-10-27 at 3.00.59 PM.png

Screen Shot 2023-10-27 at 3.02.14 PM.png

Link to comment
  • Replies 5
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

15 hours ago, tuanphan said:

Try this new code

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
html {
  scroll-behavior: smooth;
}

image.thumb.png.209bca88030f59873ff1e17b72399345.png

Thanks for your help, Tuanphan. I tried this solution and the icons still don't appear, unfortunately. I noticed that they'll still appear whether or not I have quotations around the URL while I'm editing, but they never appear on the live site.

Link to comment
On 10/31/2023 at 2:33 AM, Keauxlapo said:

Thanks for your help, Tuanphan. I tried this solution and the icons still don't appear, unfortunately. I noticed that they'll still appear whether or not I have quotations around the URL while I'm editing, but they never appear on the live site.

Try adding this to Code Injection > header

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

 

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
1 hour ago, tuanphan said:

Try adding this to Code Injection > header

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

 

Thanks again! I don't have the business subscription so I can't use Code Injection. Is there a different solution? 

Link to comment
On 11/3/2023 at 1:10 PM, Keauxlapo said:

Thanks again! I don't have the business subscription so I can't use Code Injection. Is there a different solution? 

You try edit your Site Footer > Add a Code Block > Paste that line

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.