AMP Validation Error CSS! Important

Hi Everyone,

Recently, I activated AMP on one of my sites using AMP Plugin. It does load perfectly with /amp in the end. But Google Search Console is showing me the error - The text inside tag ‘style amp-custom’ contains ‘CSS !important’, which is disallowed. Is there any way to fix it? I google it but it seems there is no info on this error.


Avoid using !important tag, instead place code at last line of all CSS. This should work.

1 Like

Thanks Sir!

Thanks, have a good weekend.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.