Error install Awesome Font plugin

Asked

Viewed 118 times

0

then the staff already tried to do of td, installed the icons in the correct way as the site speaks to make

<link rel="stylesheet" href="font-awesome.min.css">

to add the icon I’m putting

<i class="fa fa-address-book" aria-hidden="true"></i>

on the site appears like this

inserir a descrição da imagem aqui

  • Which directory is the HTML file and the CSS file?

  • are all inside a folder called portifolio2 and the file font-awesome.min is inside this folder

  • Funny that using Cdn the icon is working

  • And the CSS file that calls the font-awesome is also in that folder?

  • I guess I didn’t call the font-awesome in the css file, I’m using Sass as I do?

  • 1

    CSS calls source files (.FontAwesome.otf, for example) inside it, see if the path defined within the CSS matches the source files. See in the console if these files are obtained or result in error.

Show 1 more comment

1 answer

0

I think you did everything but did not install the fonts.
Create a folder called fonts/ and a css call/
place the font-awesome.min.css inside css/
and put fonts inside fonts/
- It will be +/- like this:

/css/font-awesome.min.css  
/fonts/FontAwesome.otf  
/fonts/fontawesome-webfont.eot  
/fonts/fontawesome-webfont.svg  
/fonts/fontawesome-webfont.ttf  
/fonts/fontawesome-webfont.woff  
/fonts/fontawesome-webfont.woff2  

Look at the hierarchy in the link
Cdnjs

Browser other questions tagged

You are not signed in. Login or sign up in order to post.