Font Awesome's logo belongs to fontawesome.io and created and owned by Dave Gandy. |
FONT AWESOME INSTALL
Font Awesome have lot of features, such as moving icon or nicely font, nowadays peoples who want to owns a blog or website can use this Font Awesome for free. This pages will displaying about how to implement Font Awesome to our blog / website.INLINE / PARSE MODE:
This is the original script, search this before you adding this to your site's template. Do not have double script.<link href='//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'/>
or
<link rel='stylesheet' href='//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'/>
The default locations of Font Awesome usually located above code </head>.
FONT AWESOME can be putted above code </body>.
Find that code and then replace with this. So the font awesome can be load in Async Mode. Your site will be faster when the script can be load Asynchronus. But not all of them can be applied!
MAKING THE STYLESHEET LOADED IN ASYNC / ASYNCHRONOUS MODE
Then, I found this code at Adhy's blog that's explaining this stylesheet (only the *.css) can be loaded in Async mode which is effects to better speed for website.Async mode do not need to save the .CSS Style highlight.js in our site, so loading due to load asynchronously would be a great option.
Input this kode above </body> or usually located in footer.php for Wordpress.:
<script>
//<![CDATA[
function loadCSS(e, t, n) { "use strict"; var i = window.document.createElement("link"); var o = t || window.document.getElementsByTagName("script")[0]; i.rel = "stylesheet"; i.href = e; i.media = "only x"; o.parentNode.insertBefore(i, o); setTimeout(function () { i.media = n || "all" }) }
loadCSS("//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css");
//]]>
</script>
EXAMPLE USE OF FONT AWESOME
CORRECT !!!
<i class="fa fa-moon-o fa-spin fa-lg"/></i> CORRECT
<i class="fa fa-moon-o fa-spin fa-lg"> CORRECT</i>
WRONG !!!
<i class="fa fa-moon-o fa-spin fa-lg"/>
Here's some documentations, but if using blogspot's blogger, sometimes it can't be done perfectly:
• HTML5 doesn’t need self-closing tags />
• HTML5 doesn’t need the type attribute on stylesheets
• HTML5 doesn’t need the type attribute on JavaScript
• HTML5 doesn’t need the media attribute on [most] stylesheets
• The id attribute on stylesheets isn’t necessary
• EditURI and wlwmanifest links aren’t neccessary
• The generator meta tag isn’t necessary
• There shouldn’t be inline CSS for the recent comments widget
BUTTON CLASS
EXAMPLE<a class="btn btn-default btn fa-lg" href="//LINK.COM/" target="_blank"><i class="fa fa-github-square fa-lg"> EXAMPLE </i></a>
<a class="btn btn-default btn fa-2x" href="//LINK.COM/" target="_blank"><i class="fa fa-github-square fa-2x"> EXAMPLE </i></a>
<i class="fa fa-github-square fa-lg"/>
COMPANY PROFILE
+012 356 789id@email.com
Building Centre
Central Park 88, Manhattan
New York
<h3>
COMPANY PROFILE</h3>
<i class="fa fa-phone fa-stack fa-lg"></i><span style="font-size: large;">+012 356 789</span>
<i class="fa fa-envelope-o fa-stack fa-lg"></i><span style="font-size: large;">id@email.com</span>
<i class="fa fa-building-o fa-stack fa-lg"></i><span style="font-size: large;">Building Centre</span>
<i class="fa fa-location-arrow fa-stack fa-lg"></i><span style="font-size: large;">Central Park 88, Manhattan</span>
<i class="fa fa-map-marker fa-stack fa-lg"></i><span style="font-size: large;">New York</span>
ABOUT ME WITHOUT WIDGET
<!-- About -->
<div class="about_a text-center">
<p><img src="//IMAGE.JPG" alt="160x160" /></p>
<p>
<strong>NAME</strong><br />
DESCRIPTIONS
</p>
<p>
<a class="btn" href="//LINK.COM/" target="_blank"> SIGN UP </a>
</p>
</div>
<!-- About End -->
SOCIAL BUTTONS
<!-- Social Buttons -->
<div class="social-links-widget cf">
<a href="#" target="_blank" class="social-links-facebook"><i class="fa fa-facebook"></i></a>
<a href="#" target="_blank" class="social-links-gplus"><i class="fa fa-google-plus"></i></a>
<a href="#" target="_blank" class="social-links-pinterest"><i class="fa fa-pinterest-p"></i></a>
<a href="#" target="_blank" class="social-links-dribbble"><i class="fa fa-dribbble"></i></a>
<a href="#" target="_blank" class="social-links-instagram"><i class="fa fa-instagram"></i></a>
<a href="#" target="_blank" class="social-links-twitter"><i class="fa fa-twitter"></i></a>
<a href="#" target="_blank" class="social-links-youtube"><i class="fa fa-youtube-play"></i></a>
</div>
<!-- Social Buttons End -->
SEARCH BOX
<!-- Search Box -->
<form role="search" method="get" class="search-form" action="/search">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="Search …" value="" name="q" title="Search for:" />
</label>
<input type="submit" class="search-submit" value="Search" />
</form>
<div class="clear"></div>
<!-- Search Box End -->
DETAILS
Home
Trust
About Us
Verify
Deposits
Company
Disclaimer
F.A.Q.
Sitemap
Signals
World Clock
Alarm
Photoshop Online
Softwares
Trust
About Us
Verify
Deposits
Company
Disclaimer
F.A.Q.
Sitemap
Signals
World Clock
Alarm
Photoshop Online
Softwares
<div class="list-group">
<a class="list-group-item" href="#" rel="nofollow"><i class="fa fa-home fa-fw"></i> Home</a><br />
<a class="list-group-item" href="#"><i class="fa fa-unlock-alt fa-fw"></i> Trust</a><br />
<a class="list-group-item" href="#"><i class="fa fa-star-o fa-spin fa-fw"></i> About Us</a><br />
<a class="list-group-item" href="#"><i class="fa fa-smile-o fa-spin fa-fw"></i> Verify</a><br />
<a class="list-group-item" href="#"><i class="fa fa-dollar fa-fw"></i> Deposits</a><br />
<a class="list-group-item" href="#"><i class="fa fa-university fa-fw"></i> Company</a><br />
<a class="list-group-item" href="#"><i class="fa fa-umbrella fa-fw"></i> Disclaimer</a><br />
<a class="list-group-item" href="#"><i class="fa fa-question fa-fw"></i> F.A.Q.</a><br />
<a class="list-group-item" href="#"><i class="fa fa-moon-o fa-spin fa-fw"></i> Sitemap</a><br />
<a class="list-group-item" href="#"><i class="fa fa-star-o fa-spin fa-fw"></i> Signals</a><br />
<a class="list-group-item" href="#"><i class="fa fa-moon-o fa-spin fa-fw"></i> World Clock</a><br />
<a class="list-group-item" href="#"><i class="fa fa-moon-o fa-spin fa-fw"></i> Alarm</a><br />
<a class="list-group-item" href="#"><i class="fa fa-moon-o fa-spin fa-fw"></i> Photoshop Online</a><br />
<a class="list-group-item" href="#"><i class="fa fa-moon-o fa-spin fa-fw"></i> Softwares</a><br />
</div>
READ TOO: Automatic applying link with icon..