While using font awesome, the icons showed as a unknown character? Exactly like this □□□□. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

While using font awesome, the icons showed as a unknown character? Exactly like this □□□□.

What should I do for fixing this problem!?

31st Aug 2018, 5:30 AM
Hesam
Hesam - avatar
3 Answers
+ 1
If you will transfer it on a server you can use the cdn ;) Otherwise check your path and calls are correct
31st Aug 2018, 6:52 AM
Sam Pache
Sam Pache - avatar
0
Try using the CDN : <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> And try as well to display your website through an apache server (wamp/mamp).
31st Aug 2018, 6:36 AM
Sam Pache
Sam Pache - avatar
0
Now it is in offline mode. After being completed I want to transfer it on a server. I mean that I'm using the desktop mode of font awesome.
31st Aug 2018, 6:43 AM
Hesam
Hesam - avatar