[Resolved] CSS syntax error in tag ‘style amp-custom’

Home Forums Support [Resolved] CSS syntax error in tag ‘style amp-custom’

Home Forums Support CSS syntax error in tag ‘style amp-custom’

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1798693
    Milan

    Hello GP team,

    the Google Search Console has notified me for CSS syntax error in tag ‘style amp-custom’ – incorrect media query. This error i got for example on this site. Do you have any idea how to get this fixed?

    Sorry, I really dont know if it is a question for you or WordPress support team.

    Thank you for your help.
    Milan

    #1799148
    David
    Staff
    Customer Support

    Hi there,

    that style tag will have been added by your AMP plugin – check with their support.
    The issue is its outputting a style tag like so:

    <style amp-custom>

    Which is invalid – let them know that, they will be able to see it in the sites source code using the browser developers tools.

    #1799161
    Milan

    OK, thank you David! 🙂

    #1799344
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.