Font awesome not working in Firefox

前端 未结 8 1764
旧巷少年郎
旧巷少年郎 2020-12-02 17:38

I\'m using bootstrap and I added font awesome through Less, overriding the Glyphicons. The icons display OK in chrome but in Firefox i just see boxes.

This is how my

8条回答
  •  被撕碎了的回忆
    2020-12-02 18:06

    If you're like me, modifying a web.config file is something you're not allowed to touch.

    Try storing all the font files (.eot, .ttf, etc) into their own local folder, and link to them locally instead of the FontAwesome CDN. Cleared it up in IE and FF for me every time.

    @font-face{ font-family:'FontAwesome'; src:url('../_fonts/fontawesome-webfont.eot'); }
    

提交回复
热议问题