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

    Hi guys :)

    I have custom fonts on my Enfold theme, they get deleted after every update. How/where can i add them so they don’t get deleted after every update?

    #330558
    This reply has been marked as private.
    #330968

    Hi!

    Please add following code to Functions.php file of your child theme

    function theme_name_scripts() {
    	wp_enqueue_style( 'style-name', '//cloud.typography.com/1234/5678/css/fonts.css' );
    }
    add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );

    You should replace the 1234/5678/css/font.css link with your CSS key. I am sure they can help you with how to find it as well :)
    Please also see – http://kriesi.at/documentation/enfold/using-a-child-theme/

    Regards,
    Yigit

    #335901

    Perfect! Thank you :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom Font deleted after every update’ is closed to new replies.