5

I'm currently using Fotawesome at a project. The problem is, that when I load the webpage, I only see blocks instead of icons. The fonts 'can't be found on the server', but I'm sure they are at the right location (I can browse to the files myself). When I load the webpage with localhost, everything works fine. Fontawesome is NOT installed on my computer. Could it be that is has something to do with mimetypes? How do I fix this? (I'm using an apache server)

falidoro
  • 399
  • 3
  • 14
  • Could you post the code you're using? – Devin M Jan 25 '13 at 18:24
  • The font isn't being loaded. Make sure your paths are correct. – BenM Jan 25 '13 at 18:27
  • 2
    In case anyone was stuck (not carefully reading the docs) like me: the font-family is loaded on the .fa class. If you, as I did, have `class="fa-phone"` you will not load the font. You need `class="fa fa-phone"` to load the font. – Michael Nov 01 '13 at 16:16
  • and don't be confused like me thinking fa = fa-fw. I needed to have class = "fa fa-fw fa-phone" – tofutim Nov 06 '13 at 05:06

1 Answers1

1

Keep in mind the path to Font Awesome is relative to where the CSS is stored (if you're using relative paths).

Also, if it's an option, Bootstrap CDN makes it really easy to use Font Awesome: http://www.bootstrapcdn.com/?v=01042013155511#tab_fontawesome

Font Awesome
  • 276
  • 1
  • 3
  • I tried including the relative path only for font-awesome.min.css placed in my css folder .Also i tried the source that u have mentioned above. Still its not working for me . – Learner Feb 12 '14 at 05:52