Don't Miss

How to Customize Font Awesome Icons in Blogger

By Zohaib Liaqat - 6 Comments
Font awesome are vector icons that can be used on any webpage. It is a set of SVG (Scalable Vector Graphics) Icons which means every icon looks awesome at any size. One of feature of Font Awesome icons is that these icons are easily customizable with CSS. Recently we've talked about How to Use Font Awesome Icons in Blogger and today we are going to discuss that How to Customize Font Awesome Icons in Blogger. So, let's come to the point

How to Use Font Awesome Icons

Simply: Choose an icon >> Note down its class name >> Use </i>  tag >> Add it to your Blog. Example:

<i class="fa fa-thumbs-up"></i>

You can use these icons anywhere you want. e.g. Navigation menu, Side bar or anywhere you want in your template. You can view a list of available icons in Font Awesome Inventory here.
Visit this Link How to Use Font Awesome Icons in Blogger.

Resizing Icons

You can resize font awesome icons by using fa-lg, fa-2x, fa-3x, fa-4x and fa-5x. Check the examples below that how it works.

<i class"fa fa-th"></i>
<i class="fa fa-th fa-lg"></i>
<i class="fa fa-th fa-2x"></i>
<i class="fa fa-th fa-3x"></i>
<i class="fa fa-th fa-4x"></i>
<i class="fa fa-th fa-5x"></i>

Customize Icons using CSS

You can also customize font awesome icons by applying CSS. Using CSS you can customize shadows, size, color and more.

.fa-envelope {
font-size: 16px;
color: #000;
padding: 5px;
border: 1px solid #ccc;
float:left;
}

You can replace the highlighted text with the class of any other icon and then customize it

Spinning Icons

You can spin font awesome icons by using fa-spin. Look at the examples below:

<i class="fa fa-gear fa-spin"></i>

<i class="fa fa-globe fa-spin"></i>

<i class="fa fa-minus-circle fa-spin"></i>

<i class="fa fa-spinner fa-spin"></i>

Rotate and Flip Icons 

Just like spinning and resizing you can rotate these icons using fa-rotate-90, fa-rotate-180, fa-rotate-270, fa-flip-vertical and fa-flip-horizontal.

<i class="fa fa-truck fa-rotate-90"></i>

<i class="fa fa-truck fa-rotate-180"></i>

<i class="fa fa-truck fa-rotate-270"></i>

<i class="fa fa-truck fa-flip-horizontal"></i>

<i class="fa fa-truck fa-flip-vertical"></i>

Stacking Icons

You can also stack two or more icons to create a new icon fa-stack or fa-stack-2x or fa-stack-3x for large icons. Example
<span class="fa-stack fa-lg">
  <i class="fa fa-square-o fa-stack-2x"></i>
  <i class="fa fa-wrench fa-stack-1x"></i>
</span>  
Result:

<span class="fa-stack fa-lg">
  <i class="fa fa-bolt fa-stack-1x"></i>
  <i class="fa fa-circle-o fa-stack-2x"></i>
</span>  
Result:

List Icons

Replace bullets and numbering using fa-ul and fa-li tags. Exapmle
  • Minus Circle
  • Star Icon
  • Spinner Icon
  • Share Square
<ul class="fa-ul">
<li><i class="fa-li fa fa-minus-circle"></i>Minus Circle</li>
<li><i class="fa-li fa fa-star"></i>Star Icon</li>
<li><i class="fa-li fa fa-spinner fa-spin"></i>Spinner Icon</li>
<li><i class="fa-li fa fa-share-square"></i>Share Square</li>
</ul>

From Editors Desk

We hope this article helped you in customizing font awesome icons for your blog. Share this article with your friends and don't forget to subscribe us. Feel free to ask. Your feedback is always highly appreciated.

6 comments to ''How to Customize Font Awesome Icons in Blogger"

ADD COMMENT