Solved: 3 Years, 8 Months, 2 Weeks ago Font-Awesome not showing Correctly?
#6
Solved: 3 Years, 8 Months, 2 Weeks ago
For your understanding:
The font-awesome css loads the font through class '.fa'. If you look into the loaded v4.7 css:
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

The class '.fas' you used is for font-awesome version 5 (represents solid type of icon.) In version 5 there are 4 types of icons: Solid (.fas), Regular (.far), Light (.fal) and Brands (.fab). As you are using version 4 (not 5) you have to strictly use '.fa' class.
Reply


Messages In This Thread
Font-Awesome not showing Correctly? - by Kioshi - 2018-03-10, 08:57 PM
RE: Font-Awesome not showing Correctly? - by effone - 2018-03-11, 06:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)