Skip to main content
Participant
December 18, 2019
Question

Getting Console error loading typekit fonts

  • December 18, 2019
  • 2 replies
  • 803 views

Hello Adobe,  I am getting console error from the Adode Typekit CSS file that is loaded.  The @1552174 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: 
This topic has been closed for replies.

2 replies

Participant
September 29, 2022

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

 

Kind regards

HARSHIKA_VERMA
Community Manager
Community Manager
December 27, 2019

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