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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS syntax error in tag ‘style amp-custom’ – malformed media query’ is closed to new replies.