Support » Plugin: AMP » The text inside tag ‘style amp-custom’ contains ‘CSS !important’

  • rockinaway

    (@rockinaway)


    Hi I have started getting this error on my pages in Google Search Console. It is currently effecting at least 30 pages and I have changed anything to suddenly cause it?

    Any help would be appreciated

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Hi there

    It looks like the WP Review plugin you are using on your page is adding this CSS on the AMP pages. Did you just recently activate this plugin?

    Given that it doesn’t display the rating box in the AMP Reader mode template, it should be possible to skip printing its CSS entirely in that case.

    rockinaway

    (@rockinaway)

    I haven’t activated this recently? How can I skip printing the CSS for it?

    Plugin Support James Osborne

    (@jamesosborne)

    @rockinaway Just checking this again now. I don’t see any validation errors, have you made any changes?

    Note that this issue should be automatically prevented from happening once the plugin sends the entire Reader templates through the post-processor: https://github.com/ampproject/amp-wp/issues/2202

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