Jump to content

Typekit Font Problem


Recommended Posts

Hi I'm trying to use a font from Adobe Typekit for certain elements.

 

I have included:

 

<script src="https://use.typekit.net/ato8kck.js"></script>

<script>try{Typekit.load({ async: true });}catch(e){}</script>

 

In the header.tpl file in my template

 

And I have included:

 

font-family: "korolev-compressed", sans-serif;

 

in whmcs.css for various elements that use the font. However it doesn't render the font.

 

I am also using Open Sans from google fonts, this renders for the elements that use it.

 

Also I have the Adobe Typkit font set up on other parts of my website that are using wordpress in exactly the same way, and it works. The font renders on screen. So it is something in WHMCS I am either missing or interfering with the font. Any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated