Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #324417

    Hi,

    I’m a bit confused about ENFOLD and Font Awesome’s current version 4.2.0, because I thought, that ENFOLD do work with Font Awesome, but this code won’t work (shows no icon at all):

    <i class="fa fa-twitter"></i>

    How can I ensure, that ENFOLD always work with the newest version of Font Awesome?
    Thanks.

    #324419

    Hi COLORIT!

    Please add following code to Functions.php file in Appearance > Editor

    add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' );
    function enqueue_font_awesome() {
     
    	wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css' );
     
    }

    Cheers!
    Yigit

    #324640

    Thank you, does this load FontAwesome twice, I mean the old version coming with the theme?

    #324764

    Hi!

    I think you are confusing FontAwesome with Fontello – http://kriesi.at/documentation/enfold/adding-your-own-icon-fonts/
    FontAwesome is not loaded on Enfold by default. This will load it so that you can use

    Regards,
    Yigit

    #324890

    ah okay, I understand, thanks a lot!

    #324923

    Hey!

    You are welcome, glad we could help :) Let us know if you have any other questions or issues

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Font Awesome 4.2.0 with ENFOLD not working?’ is closed to new replies.