Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Font Awesome: Difference between revisions

From iFixWiki
Created page with "Font Awesome is a collection of web icons that can be utilized via CSS or HTML. = Issues = == Font Awesome 5 font-family not working == After upgrading to font awesome versio..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
Example
Example


a::after {
  a::after {
  content: "\f007";
    content: "\f007";
  font-family: 'Font Awesome\ 5 Free';
    font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
    '''font-weight: 900;'''
}
  }
 
= References =
[[Category:Website Software]]

Latest revision as of 03:32, 2 September 2018

Font Awesome is a collection of web icons that can be utilized via CSS or HTML.

Issues[edit]

Font Awesome 5 font-family not working[edit]

After upgrading to font awesome version 5 some icons may not work. An empty square may take their place. The cause of this problem is the lack of the font-weight CSS setting.

Solution[1]

Add font-weight: 900; to your CSS styling

Example

 a::after {
   content: "\f007";
   font-family: 'Font Awesome\ 5 Free';
   font-weight: 900;
 }

References[edit]