Okay
  Public Ticket #1346594
Custom Typekit font
Closed

Comments

  • SF88 started the conversation

    Hi there, 

    I am trying to follow the steps from this article:  https://themenectar.ticksy.com/article/9773/ to install custom Typekit fonts to h1 and h1 tags to my site.

    I've installed the Typekit Fonts for WordPress plugin and embedded the Typekit code to the plugin. 

    Following that I have uploaded the Child Theme and added the code from article 9773 to the Child Theme editor. 

    However, I still can't see TYPEKIT fonts in the Salient theme, typography dropdown. 


    Also, I noticed that I am now editing the Child Theme. Once I resolve the fonts, do I keep my site based on the Child Theme rather than the Salient theme?

    Thanks 

    Soojee 


  •  9,016
    Tahir replied

    Hey Again,

    Try using  Code Snippets Plugin and check . Also switch to the Parent Theme and test .

    Be.st 


    ThemeNectar Support Team 

  • SF88 replied

    Thanks! Code Snippets worked, but it set my headings in Furtura even though it isn't in my Typekit kit. This is okay as I was after Futura for my body font and navigation. 

    However, I'd also like to have Gastromond available and I have included this in my Typekit kit. 

    I noticed the name Futura was in the code that I pasted in to Code Snippets (supplied in the how to article). How do I update this code so that Gastromond is also available for me to use in the Salient options? See code below: 

    function salient_redux_custom_fonts( $custom_fonts ) {    return array(        'Custom Fonts' => array(             'futura-pt,sans-serif' => "Futura PT"        )    );
    }
    add_filter( "redux/salient_redux/field/typography/custom_fonts", "salient_redux_custom_fonts" );
    

    Thanks in advance :)!

  •  9,016
    Tahir replied

    Hey Again,

    Simply change the

    "futura-pt,sans-serif"

    text to the font that is available in the Typekit plugin .

    B.est 


    ThemeNectar Support Team 

  • SF88 replied

    Thanks, I tried this but it didn't work.

    I'll come back to it soon, as I am trying to load a demo now and having troubles.