【问题标题】:Why font-awesome displaying other symbols instead of icons sometimes为什么有时字体真棒显示其他符号而不是图标
【发布时间】:2018-01-31 22:14:25
【问题描述】:

它通常发生在 5 次页面加载中的 1 次。当我在 localhost 中测试它时没问题,但是当我在远程服务器的 wordpress 中安装我的主题时,它发生了。

fa fa-check

fa-vk and instagram

【问题讨论】:

  • 您是否在 header.php 中包含 font-awsome CDN URL?
  • @R.K.Bhardwaj 我应该吗?我只将 style.css 用于 css 内容
  • 首先,将字体添加到 css 文件中,就像它在 localhost 中一样,然后将 font-awsome CDN URL 调用到 header.PHP 之间 <head></head>

标签: wordpress font-awesome


【解决方案1】:

您可以检查thisthis github 链接是否存在相同问题并解决。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-02-12
    • 1970-01-01
    • 2021-12-16
    • 1970-01-01
    • 2018-02-16
    相关资源
    最近更新 更多