Use ‘style amp-custom’ tag instead

Posted in: Newspaper
Post count: 24

Hi,
It seems I have a problem.
Google Search Console tells me that “The inline ‘style’ attribute is not allowed in AMP documents. Use ‘style amp-custom’ tag instead”.
I have a blog, and I need my articles to be AMP. Here, I don’t think they are even if I enabled the AMP options for posts + pages…

Link of my website : http://www.downshift.fr

Post count: 22421

Hello,

This issue has already been fixed. Please update your amp plugin by disabling and deleting the current amp plugin you use and then installing it again from the main theme package you download from envato.

Thank you!

Post count: 24

Hi!
Thank you for your reply
I already did it. That’s why i asked the question on the forum
still doesn’t work 🙁

Post count: 83

I think have same problem…
google search console (italian) : “L’attributo incorporato “style” non è consentito nei documenti AMP. Utilizza invece il tag “style amp-custom”.
my wrong amp pages are coming up also after last update..
I read forum answers about ads wrong format, but I have not any..

Post count: 22421

OK, please contact us via email at contact@tagdiv.com and provide a link to your site and wp-admin so we can login and investigate.
Thank you!

Post count: 83

… did it…
thank you very much Bogdan

Post count: 22421

Please check your amp ads as inline styles are not allowed. If you have a style attribute in your ads, they will provide errors on amp.
https://www.ampproject.org/docs/design/responsive/style_pages

Thank you!

Post count: 83

oh my …, it was our fault … I really apologize …
sorry for the time spent and for the wrong warning
sorry Bogdan..

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.