Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #895686
    webservant
    Participant

    I’ve been trying to install a couple of fonts I purchased from cloud.typography. I’m not sure where I can place the css key they provided to be able to use the font across the entire site. Can anyone help? Thanks!

    #896550
    Thai
    Moderator

    Hi There,

    Please add the following code under functions.php file locates in your child theme:

    add_action( 'wp_head', 'x_custom_fonts' );
    function x_custom_fonts(){
    	?>
    	<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/1234/5678/css/fonts.css" />
    	<?php
    }

    After that replace the 1234/5678 number with your CSS key.

    Hope it helps 🙂

    #896849
    webservant
    Participant

    Thanks so much!! This is awesome

    #897526
    Thai
    Moderator

    Glad we were able to help 🙂

    If you need anything else please let us know.

    #1053413
    Jared B
    Participant

    Hi there,

    I’ve performed the update to the child theme’s function file but the settings in the customizer appear to still be in place. How do I override these?

    Thanks!

    #1053437
    caldrete23
    Participant

    I did this and I have no idea wether the font was embedded and I don’t know how to activate it, or the font never installed. Help!

    #1053833
    Rupok
    Member

    Hi guys,

    Thanks for writing in! If you have questions then you can always open your own thread with reference of his issue. It’s not a good idea to hack other user’s old thread.

    Let’s provide the minimum information so that we could have look.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-895686 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>