0

I am using font-awesome version 4.7. Everything was fine few days back but suddenly few fonts stopped working. Here is the list:

1.fa-television 2.fa-handshake-o 3.fa-product-hunt Can anyone please help me to understand why and how can I fix that? By putting version 5 does not help very much looks like need to make many changes.

.fa-lg {
  font-size: 17px !important;
}

.icon-background2 {
  color: #496360 !important;
}
<li onclick="roomName()" style="top:7px" class="usercss1">
  <a href="#" style="color:#fff;padding: 5px;">
    <span class="fa-stack fa-lg">
      <i class="fa fa-circle fa-stack-2x icon-background2"></i>
      <i class="fa fa-television fa-stack-1x" data-toggle="tooltip" data-placement="bottom" title="collaboration" style="font-size:13px !important;font-weight: 600;" aria-hidden="true"></i>
    </span>
  </a>
</li>

Please find the above code that I am using but it is not displaying television icon as it works for other icons.Please look at the below screenshot

enter image description here.

4

1 回答 1

0

是 Font Awesome 的 Github 页面的链接。发生这种情况的原因有多种,此链接为您提供了解决问题的良好起点。它可能是由任何 css 重置或任何覆盖图标标签的 css 引起的。它可能是您正在使用的内联 css。或者它可能是您浏览器中的扩展程序或插件或广告拦截器。您是否在页面加载时检查了控制台并确认字体文件已正确加载?希望这有所帮助。

于 2018-01-14T21:10:31.030 回答