Boootstrap glyphicons Firefox issues

后端 未结 3 967
迷失自我
迷失自我 2020-12-03 15:29

I know that there\'s many other problems similar to this, but mine doesn\'t seem to meet any of the criteria of the other issues.

My Bootstrap 3 glyphicons are worki

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 16:12

    Firefox has a strict setting(this) that prevents your HTML file from accessing your web fonts from folders not on the root. This only happens when you work locally and not from files on a server. You have to change a setting in Firefox to display the glyphicons when you develop locally.

    -open "about:config" in your address in firefox

    -Then search for "security.fileuri.strict_origin_policy" property and change it from "true" to "false". (ignore quotation marks of course)

提交回复
热议问题