The Utility Theme for the Genesis Framework received a minor update related to Font Awesome support.
- Utility 1.0.0 supported Font Awesome 3.2.1.
- Utility 1.1.0 supports Font Awesome 4.0.3.
Wondering what this means for you?
Ask yourself this: Have you made any changes to core theme files?
NO, I have not touched functions.php, style.css, or anything else in the theme folder.
It is safe to update to Utility 1.1.0. All original files will be overwritten, but since you haven’t edited them, no worries. Don’t forget to follow best practices and back up your site completely prior to updating.
If you run into any problems or have a questions, drop a line to our support.
YES, I have customized functions.php or style.css.
Don’t update to Utility 1.1.0. Instead, you’ll need to manually update one line of code in your functions.php file to take advantage of the new version of Font Awesome.
For context, view the original functions.php versus the new functions.php here.
You can update the theme version, as noted in lines 17 and 135, but the only bit that really matters is updating line 139 to this:
How to Use Font Awesome 4+
The biggest change to the new version of Font Awesome that will impact you is the naming convention.
The new basic syntax is
fa fa-[name]. For example, with Font Awesome v3, you could add a cloud icon like this:
With Font Awesome v4, your syntax would look like this instead:
<i class="fa fa-cloud"></i>
Here’s a full outline from Font Awesome on what’s new in 4.0, including usage examples and new icons.
What if I don’t want to update?
Well, that’s okay, too. Font Awesome v3 is still “out there” and won’t break your site (though note you’ll need to use the “old” syntax to reference icons and won’t have access to any new icons). Since this update is not a security-related update, you can go about your business as is and be fine.
If you’ve purchased a copy of Utility prior to 11/30/13 and have not received an email from me with the updated theme version, please contact support and we’ll get you taken care of.