Updating theme to support Font Awesome 4.1 (2 posts)

  1. Raido
    Posted 2 years ago #


    Here is small guide for those who are interested in updating Font Awesome to version 4.1 and want to use the new icons. (Corpo currently uses old version of FA)

    I'm writing this guide while using Corpo 1.3.2.

    1. Go to Font Awesome website
    2. Download new FA package
    3. Unpack it :)
    4. Make backup of your theme (just in case)
    5. Overwrite fonts folder (under Corpo theme) with one from unpacked Font Awesome folder
    6. Overwrite font-awesome.min.css (under Corpo theme css folder) with one from unpacked Font Awesome folder
    7. Open up corpo/functions/widgets/services-widget.php
    8. Find line 40, which should look like this:
      <i class="<?php echo $icon; ?> icon-3x icon"></i>
    9. Make it look like this:
      <i class="fa <?php echo $icon; ?> fa-3x icon"></i>
    10. Save the file and now you can use all the new Font Awesome icons

    Hope it helps.


  2. andrew1989
    Posted 1 year ago #

    Hi, Raido,

    Thank you for your sharing, I did it as you said, and it works!

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic