Font Awesome 5 - why aren't icons like bitcoin, facebook, twitter showing?
You also need to use the brands.css
stylesheet in font-awesome 5.0.8. Additionally, you need to make sure your class names are up to date. Try the snippet below:
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/brands.css" integrity="sha384-IiIL1/ODJBRTrDTFk/pW8j0DUI5/z9m1KYsTm/RjZTNV8RHLGZXkUDwgRRbbQ+Jh" crossorigin="anonymous"><link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css" integrity="sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P" crossorigin="anonymous">
<i class="fab fa-btc"></i><i class="fab fa-bitcoin"></i>
Font awesome 4/5 icons are show up correct
Use Brands
instead of Free
To set them in one line(as in image) use display:flex;
.xcon-facebook:before { content: '\f09a'; font-family: 'Font Awesome 5 Brands'; }.xcon-twitter:before { content: '\f099'; font-family: 'Font Awesome 5 Brands'; } .xcon-linkedin:before { content: '\f0e1'; font-family: 'Font Awesome 5 Brands'; }.xcon-instagram:before { content: '\f16d'; font-family: 'Font Awesome 5 Brands'; } .xcon-stackoverflow:before { content: '\f16c'; font-family: 'Font Awesome 5 Brands'; } ul{display:flex; list-style: none;}li{padding:5px;}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous"><ul> <li><a href="#"><i class="xcon-facebook"></i></a></li> <li><a href="#"><i class="xcon-twitter"></i></a></li> <li><a href="#"><i class="xcon-linkedin"></i></a></li> <li><a href="#"><i class="xcon-instagram"></i></a></li> <li><a href="#"><i class="xcon-stackoverflow"></i></a></li></ul>
Some font awesome brands don't work (show square) event though other work fine
You're mixing the Font Awesome 5 stylesheet with Font Awesome 4 syntax. The problem can be fixed in one of two ways:
- Load a stylesheet for an older version, or preferably
- Double check your class names and be sure to use the current standard.
Why do I have blank squares for some icons when using font awesome?
You are using an old class. The latest Font Awesome uses the class "fab fa-icon-name" So adding b to your class works.
<div class="col-md-1 d-flex flex-column justify-content-center align-items-center">
<i class="fab fa-searchengin"></i>
<span>SEO</span>
</div>
<div class="col-md-1 d-flex flex-column justify-content-center align-items-center">
<i class="fab fa-facebook-square"></i>
<span>Social</span>
</div>
JS Fiddle: https://jsfiddle.net/1n74q20u/
Related Topics
How to Change the Bootstrap Primary Color
What Does "I" Mean in a CSS Attribute Selector
How to Insert a Line Break Before an Element Using Css
How to Create Equal Height Columns in Pure Css
Are Unused CSS Images Downloaded
Search Input With an Icon Bootstrap
Div's VS. Tables or CSS VS. Being Stupid
Webkit Bug with ':Hover' and Multiple Adjacent-Sibling Selectors
How to Put an Image in Div with CSS
What Does the Forward Slash Mean in the CSS Font Shorthand
Css Animation and Display None
Why Does 'Overflow: Auto' Clear Floats? And Why Are Clear Floats Needed
Browser Support For CSS Page Numbers
Draw Diagonal Lines in Div Background With Css
Why Adding Version Number to CSS File Path
React Native Text Going Off My Screen, Refusing to Wrap. What to Do