• Hello.
    There was an error on almost all AMP pages of the site:
    External style sheets are not supported, except those provided by developers from the whitelist. Instead, use the style amp-custom tag embedded in the document.

    The line with the error:
    <link rel=”stylesheet” href=”//*******.com/wp-content/uploads/sgf-css/font-263a00ad83657c1d6fdeb339b622b0fa.css”>

    Where and what do I need to fix?
    Thank!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter anapa93

    (@anapa93)

    The problem is only in the theme Design One. But other free themes are not suitable for my site.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @anapa93,

    Will you please tell me why you are adding this external CSS? and in AMP only internal styling is allowed. and if you tell us your use-case and send us your website URL and we will find the alternative way and fix your issue.

    Thread Starter anapa93

    (@anapa93)

    But I did not add anything)
    This line is only in “Design One” theme.
    This CSS file describes the fonts. And all content of this CSS is available just below, in the style amp-custom tag. Duplicated. Only in one theme.

    I tried to disable all plugins, updated the AMP plugin.

    • This reply was modified 7 years, 4 months ago by anapa93.
    Plugin Contributor ampforwp

    (@ampforwp)

    I have checked the code of design one but we dont have the code which you have mentioned, Will you please contact me directly on team@magazine3.com and I will check your issue and I will fix it and make sure it will work with all the designs.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Critical error in the Search Console’ is closed to new replies.