Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » CSS syntax error in tag ‘style amp-custom’ – disallowed media type ’email’.

  • Resolved cyrilpallasigui

    (@cyrilpallasigui)


    Hello,

    Google Search Console notified me that there are AMP issues on the page https://www.hairmaidenindia.com/indialove/?amp. The errors says “CSS syntax error in tag ‘style amp-custom’ – disallowed media type ’email’.” The non-AMP URL is https://www.hairmaidenindia.com/indialove/.

    Upon investigating, it seems that this is due to the Jetpack Tiled Gallery block. Jetpack adds the below CSS on the page:

    @media only email{.tiled-gallery__gallery{display:block}}

    I have the latest version of Jetpack Version 9.7. Kindly help in resolving this issue.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.