将fontawesome更新为5.14.0图标显示为正方形

问题描述

在我使用的字体非常棒的5.13.1站点上,所以我想将其扩展到5.14.0,因此替换了css文件,当在我的站点上查看房屋时,图标显示为正方形。

我正在像这样加载库:

<link href="https://www.example.com/css/fontawesome/fas-5.14.0-all.min.css" rel="stylesheet" type="text/css" />

<span data-menu="menu4" style="font-size:46px; color: white; background-color: #8EC057;" class="bubble fas fa-bus-alt">
                                                                                        
                                          </span>

您知道发生了什么吗?

多谢

解决方法

使用Font Awesome提供的CDN,就不会有任何问题

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css">

<span data-menu="menu4" style="font-size:46px; color: white; background-color: #8EC057;" class="bubble fas fa-bus-alt"></span>