Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #615950

    Hi,
    I have tried installing fonts/icons (via the Icon Font Manager with a downloaded zip file) and only some of them install. Other fonts/icons just show up as a square box. In particular, I’m trying to install the “cab” and the “pin” or “pushpin” from Font Awesome. After reading some posts, I installed the code shown below into my child functions.php but it didn’t didn’t help (I have not upgraded to the latest version yet – had issues when I updated to the latest WordPress, so for now, I don’t want to update the theme, either). Can you tell me if I need to do something else in order to get these other fonts/icons, and does it matter what set I am downloading (there seem to be different sets designed by different people)?

    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’ );

    }

    #616058

    The fonts just showed up, several hours later. So, maybe there is a delay when the code is changed? Anyway, it works now. Thanks

    #616068

    Hi!

    That is because you have not cleared the cache, but cache expired now and you can see them.
    Please – when do any type of changes, clear your cache to be sure everything is been visible properly.

    Please let us know if we can do anything else for you, we will be more than happy to assist.

    Cheers!
    Basilis

    #616564

    That’s a great tip… I forgot about that! Thanks Basilis!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Font Awesome’ is closed to new replies.