Okay
  Public Ticket #1381460
Importing TypeKit fonts
Closed

Comments

  • SF88 started the conversation

    Hi there, 

    I am trying to add Typekit fonts using your instructions. 

    However, my Typekit only has 'one line of Javascript' so it doesn't work when I paste the Javascript in. See attached screenshots.

    How can I get my Typekit fonts in?

    Thanks 



  •  3,034
    Andrew replied

    Hi SF88,

    We are assuming you have used this guide: https://themenectar.ticksy.com/article/9773/ for setting up that custom font.

    For setting up that Typekit plugin settings please consider contacting the plugins support for setting that up. The custom CSS rules should be CSS targeting the text you want to apply the font to on the various locations you can the text to take up the font.

    You can do that though the inspect element options on browsers and if you cannot then let us know where these bits of text are so that we can assist with the CSS.

    Also a direct link to these locations would help.
    Thanks.

  • SF88 replied

    Thanks Andrew, 

    All sorted, Typekit seems to only display one of the two lines of Javascript that the Typekit Plugin required. 

    I found on Google the second line: <script>try{Typekit.load({ async: true });}catch(e){}</script>

    Once this was added, I could then add the custom CSS and get the fonts in. 

    Cheers