WordPress.org

Support

Support » Themes and Templates » Updating theme to support Font Awesome 4.1

Updating theme to support Font Awesome 4.1

  • Hi

    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.

    Raido

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Updating theme to support Font Awesome 4.1’ is closed to new replies.