• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Getting Console error loading typekit fonts

New Here ,
Dec 18, 2019 Dec 18, 2019

Copy link to clipboard

Copied

Hello Adobe,  I am getting console error from the Adode Typekit CSS file that is loaded.  The @Import statement at the top of the Adode CSS that is Adode servers is loading throwing this error. Can someone please help me correct this issue.  I am using WordPress 5.3 on Pantheon hosting.  I have enqueue my files correctly. 

 

/*==============  LOAD AND USE ADOBE TYPEKIT  ==================*/
function theme_typekit() {
    /* Adobe Proxima nova Fonts */
    wp_enqueue_script( 'theme_typekit', 'https://use.typekit.net/myidnumber.css');
}
add_action( 'wp_enqueue_scripts', 'theme_typekit' );

function theme_typekit_inline() {
  if ( wp_script_is( 'theme_typekit', 'done' ) ) { ?>
    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<?php }
}
add_action( 'wp_head', 'theme_typekit_inline' );
 
Thanks!!!
 
screen shots of the issue: 
typekit1.JPGtypekit2.JPG
TOPICS
Font rendering , Performance , Product issue

Views

613

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 27, 2019 Dec 27, 2019

Copy link to clipboard

Copied

Hi there,

 

We are sorry to hear you are having trouble using Adobe Fonts. We would suggest getting in touch with our support team using this link: https://helpx.adobe.com/in/contact.html for real time assistance.

 

Let us know if that helps.

 

Thanks,

Harshika

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 29, 2022 Sep 29, 2022

Copy link to clipboard

Copied

LATEST

I have the same problem. Can you tell me if and how it has been fixed?

 

Kind regards

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines