“真棒字体"图标未在Safari和iPad中显示 [英] Font Awesome icon not displaying in Safari and iPad

查看:60
本文介绍了“真棒字体"图标未在Safari和iPad中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Font Awesome图标已有一段时间了,但是在从外部公司进行了一轮错误跟踪之后,他们发现在某些情况下没有显示Font Awesome图标.

I have been using Font Awesome icons for a while now but after a round of bug tracking from an external company they found that the font awesome icons were not displaying in some instances.

令人敬畏的字体版本是4.3.0

Version of font awesome is 4.3.0

无法从外部公司使用的版本: iPad4(iOS 7.1.2) Mac OS 10.10.x上的Safari 8.0.2 Mac OS 10.9.x上的Safari 7.1.2 Safari 7.1.4和8.0.2 Mac OS X 10.10.2(14C109)上的Safari版本8.0.3(10600.3.18) 装有iOS 8.0.3的iPad Air 2

Versions not working in from external company: iPad4 (iOS 7.1.2) Safari 8.0.2 on Mac OS 10.10.x Safari 7.1.2 on Mac OS 10.9.x Safari 7.1.4 and 8.0.2 Safari Version 8.0.3 (10600.3.18) on Mac OS X 10.10.2 (14C109) iPad Air 2 with iOS 8.0.3

我们在以下方面进行了内部测试: Safari 8.0.2

We have internally tested on: Safari 8.0.2

问题序列1 -登录网站 -图标可见 -注销,关闭浏览器,删除所有网站数据,重新登录-没有图标/正方形

Problem sequence 1 - Login to website - Icons are visible - Log out, close browser, remove all website data, log back in - no icons / squares present

问题序列2 -登录网站 -图标完全不可见/存在正方形

Problem sequence 2 - Login to website - Icons not visible at all / squares present

该网站使用指示灯在自己的专用服务器上.在FF,Chrome甚至IE上都不会发生.

Website is on own dedicated server, using lamp. Not happening on FF, Chrome or even IE.

如果任何人遇到相同的问题或知道有效的解决方案,请提供帮助.我们已经查看并尝试了大约10种不同的方法,即源代码订购,更新CSS,使用网站链接等

If anyone has had the same issue or knows a solution that works please help. We have looked and tried roughly 10 different things i.e. source ordering, updating css, using website link etc etc

推荐答案

我在Mac OSX(Yosemite)+ Safari 8.0.8和各种iOS 6设备上遇到相同的问题.我的目标是Font Awesome 4.2.0,它在IIS Web服务器上本地托管.

I was having the same problem on Mac OSX (Yosemite) + Safari 8.0.8 and various iOS 6 devices. I'm targeting Font Awesome 4.2.0, hosting locally on an IIS web server.

奇怪的是,我发现,使用缓存清除器将Font Awesome CSS库的路径后缀固定可以解决此问题.例如

Oddly what I found was that suffixing the path to the Font Awesome CSS library with a cache buster fixed the issue. e.g.

font-awesome.min.css?v=1234

我不明白为什么这样做是有必要的,但到目前为止看来仍然可行.

I don't understand why this would be necessary, but so far it appears to work.

这篇关于“真棒字体"图标未在Safari和iPad中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆