css - Why do I have to include the font files with Font-Awesome? -


the font-awesome docs not mention anywhere other files need downloaded , included within project why icons missing?

i know font files should within relative path font-awesome can see them, understand that, reference other techniques combining , minifying css files , javascripts, why there more http requests fonts?

[error] failed load resource: server responded status of 404 (not found) (fontawesome-webfont.woff, line 0)

you can see state need copy entire directory onto webserver.

http://fortawesome.github.io/font-awesome/get-started/

easy: default css

use method default font awesome css.

  1. copy entire font-awesome directory project.

so including css file in header isn't going much, because others have pointed out.. it's font. think of wingdings, that's font file.

then css sets classes background images, using content written using font.

minifying can cause disruption paths of css files. basically, need make sure things being referenced correctly. firstly, ensure font files on webserver, , css file of font-awesome pointing correct path.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -