Support » Theme: Wellington » CSS syntax error in tag ‘style amp-custom’ – malformed media query

  • Resolved Milind More

    (@milindmore22)


    Hello Team,

    The Wellington theme is adding a malformed CSS media query causing AMP warning and we have been receiving many topics for the same on AMP support forums

    this can be easily fixed by updating the following CSS.

    /themes/wellington/assets/css/safari-flexbox-fixes.css#L8

    Current:
    @media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {

    Update /Fix needed :
    @media screen and (min-color-index:0) and (-webkit-min-device-pixel-ratio:0) {

    the space between and & ( is causing the warning in Google Search Console AMP validation.

    Hope this get’s resolved in an upcoming theme version.

    • This topic was modified 1 month, 1 week ago by Milind More.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author ThemeZee

    (@themezee)

    Thanks so much for letting me know, I have fixed that with the latest updates last week.

    Cheers,
    Thomas

    Thread Starter Milind More

    (@milindmore22)

    Thanks for the update and fixing it, I will inform users on the AMP support topic.

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