Font Icons like Glyphicons and Font Awesome are not showing in Firefox

on 10 Jan, 2014 by mosaicpro0 comments 1 year ago

Font Icons like Glyphicons and Font Awesome are not showing in Firefox

The issue

If you're working locally and testing or working on HTML files using file:/// in the browser instead of running files from a web server like Apache, the font icons are most likely not showing up properly.

The cause

Firefox has a strict “file uri origin” policy that is preventing access to web fonts from folders not in the root. This only matters when you're working locally with the file:/// protocol and not from a web server on the http:// or https:// protocol.

The solution

To work around the problem you have to reconfigure Firefox by typing about:config in the address bar, and then change the security.fileuri.strict_origin_policy from true to false