Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @nicocaldo Please do not post links like that, it lights up the spam filter. Just use the one link in the link field as an example.

    I have removed your extra links.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @nicocaldo,

    Did you add any CSS in the “Custom CSS” option?

    let us know

    Thread Starter nicocaldo

    (@nicocaldo)

    Nope, no custom CSS https://prnt.sc/mw9n0s

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @nicocaldo,

    For testing purpose, Please disable the “Minify” option from the AMP panel settings ( screenshot: https://take.ms/uszY0 ) and test the AMP URL on this tool: https://validator.ampproject.org/.

    Let me know whether the issue is resolved or not.

    Thank you

    Thread Starter nicocaldo

    (@nicocaldo)

    Same error. I’ve also flushed the cache but the error persist

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @nicocaldo,

    Did you disable the “Minify” option from the AMP panel settings ( screenshot: https://take.ms/uszY0 )

    I have the same problem using latest version of AMPforWP and the Swift theme. I’ve disabled Minify and cleared my cache. Still getting the error

    Thread Starter nicocaldo

    (@nicocaldo)

    YES, I told you YES, I have disabled it + flushed all the cache but it persists and more pages are now afflicted.

    I’m having the same issue. It’s a brand new crawl error that just started after a recent update. 41 pages affected and rising.

    I ran OP’s URL and one of my URLs through Google’s AMP Tool and it shows exactly the same error for both sites.
    https://search.google.com/test/amp

    CSS syntax error in tag ‘style amp-custom’ – bad url.

    It looks like a background image SVG code, not pasting here but you can clearly see it if you use the validation tool and view the error info. It’s the same code for both our sites, so it’s not related to our settings or configuration.

    It’s in a block of CSS marked ” /* Inline styles */” after my custom CSS and before the .ampforwp_wc_shortcode CSS block, if that helps.

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