【问题标题】:Why is my website navigation disappearing in google chrome?为什么我的网站导航在谷歌浏览器中消失了?
【发布时间】:2014-04-02 19:55:53
【问题描述】:

我使用来自 wpexplorer 的主题 Photo 创建了一个 wordpress 网站。在 Firefox 和 Explorer 中一切看起来都很棒,但是在 Chrome 中查看时,网站导航消失了(有时)。有时它加载得很好。但是在重新加载时,导航消失了。如何解决此问题以在 Chrome 中查看网站。 http://testhouseforgovernor.com

【问题讨论】:

  • 我在 chrome 中对此进行了测试,但无法复制您的问题
  • 我找不到任何错误。
  • 这发生在网站 testhouseforgovernor.com 和实时网站 http:www.houseforgovernor.com 上发生在我和其他引起我注意的用户身上。跨度>
  • 我相信它的任何插件都会减慢整个网站的速度。

标签: javascript css wordpress google-chrome navigationbar


【解决方案1】:

这是 Chrome 的一个已知错误。它在 Chrome 32 中变得最为突出,在 Chrome 33 中仍然存在一些问题。

阅读更多HERE

这里有一个建议的修复方法:

body {
    -webkit-animation-delay: 0.1s;
    -webkit-animation-name: fontfix;
    -webkit-animation-duration: 0.1s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
}

@-webkit-keyframes fontfix {
    from { opacity: 1; }
    to   { opacity: 1; }
}

它只是告诉 Chrome 重新加载字体的不透明度,这是问题所在。

从以前的 SA 问题中找到的详细信息 HERE

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-10-15
    • 2014-01-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-20
    • 1970-01-01
    相关资源
    最近更新 更多