creativetimofficial / ct-material-dashboard-pro

Material Dashboard Pro - Premium Bootstrap 5 Admin
https://demos.creative-tim.com/material-dashboard-pro/pages/dashboards/analytics
116 stars 28 forks source link

FontAwesome icons shown as squares #248

Closed dorkyboi closed 5 years ago

dorkyboi commented 5 years ago

Hello CreativeTim,

i am using Material Dashboard Pro v2.1.0 and after building site with Starter template from introduction page of your docs instead of icons i can only see italic squares.

icons

On the other hand, Material Design icons are shown correctly, but i have no intention of using them.

Using Google Chrome 76.0.3809.87 with Ubuntu 19.04.

<!--     Fonts and icons     -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" />
<link href="/css/material-dashboard.css?v=2.1.0" rel="stylesheet" />
dorkyboi commented 5 years ago

Turns out,

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" />

has outdated version of FontAwesome, that required to use fa instead of fas.

For anyone having similar issue, you should get fresh version here, take all.css from downloaded arhive and serve it yourself.

CreativeTim, please care to edit your introduction page in documentation to avoid future confusions.