Updating font awesome

Hi Movin,

Please correct me if I’m wrong, but it seems that the current activello use font-awesome 4.4. There will be more icons released in the future for sure, so I would like to know if it is possible to update font awesome to newer version.

Currently I cannot use any icons that are only available in version 4.5 onwards

Thanks!

Hi @fadill,

I hope you are well today and thank you for your question.

I have tested it on my test site and it’s using font-awesome 4.5 using latest version 1.0.2 of Activello theme.

What theme version are you using?

Please make sure to use latest version of it.

Best Regards,
Movin

Hi Movin,

I’m using Activello 1.0.2 with some customization in my child theme. I dont think any of my customization makes the fontawesome icon not working though, as every icons that is available in version 4.4 and below works fine.

Also, in case if I want to use an icon that is only available in fontawesome 4.6, can I update it manually?

To use latest fontawesome library you have to just add the latest font awesome font-awesome.min.css file in the css directory of your child theme and then add the following code in the functions.php file of your child theme.

add_action( 'wp_enqueue_scripts', 'func_enqueue_fontawesome_styles', 99);

function func_enqueue_fontawesome_styles() {
    wp_dequeue_style( 'shapely-icons');
    wp_enqueue_style( 'shapely-icons2', get_stylesheet_directory_uri().'/css/font-awesome.min.css' );
}

Thanks Movin!

That works perfectly.
I did further debugging and the culprit was one one of my plugin overrides the theme setting for fontawesome.
So I had to dequeue the fontawesome script of the plugin and and enqueue again the theme setting.

You are most welcome here :slight_smile: