【发布时间】:2014-03-23 18:28:40
【问题描述】:
我的 WordPress 网站在这里:http://pangalactic.co/
在使用 Chrome 时,用户有时会发现徽标下方的文字以及与网站页面相关的文字(徽标右侧)对他们来说是不可见的。如果他们尝试在 Chrome 中刷新,它仍然是不可见的。但是,如果他们单击站点徽标进行刷新,则文本会再次出现。相关的@font-face 文字如下...
@font-face {
font-family: 'BebasNeueRegular';
src: url("fonts/bebas-neue/BebasNeue-webfont.eot");
src: url("fonts/bebas-neue/BebasNeue.otf");
src: url("fonts/bebas-neue/BebasNeue-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/bebas-neue/BebasNeue-webfont.woff") format("woff"), url("fonts/bebas- neue/BebasNeue-webfont.ttf") format("truetype"), url("fonts/bebas-neue/BebasNeue- webfont.svg#BebasNeueRegular") format("svg");
font-weight: normal;
font-style: normal;
}
【问题讨论】:
-
对我来说很好。可能是您的缓存故障。尝试
ctrl f5,或尝试更改 CSS 版本,或使用!important声明。 -
感谢您的检查,我可以确认您使用的是 Chrome 吗?我有其他朋友也在使用 Chrome,他们报告了同样的事情。是的,我们很久以前就尝试过 ctrl F5 :) 不确定您对更改 CSS 版本的意思。至于 !important 声明,我明白它的作用,但不明白我应该把它放在哪里......?
-
我也在 chrome 上,@krembo99 引用的
!important标签可能与font-family声明一起放置。 CSS 版本你可以see here -
好的,我可以看到添加 是如何工作的......但是在哪里添加呢?我正在查看可能的嫌疑人,但没有看到类似的东西可以覆盖?