AMP error while using Newspaper theme

Posted in: Newspaper
Post count: 220

The inline ‘style’ attribute is not allowed in AMP documents. Use ‘style amp-custom’ tag instead.

Can you let me know how to solve this problem ??

Post count: 20688

Hi,

That would depend, I could take a look if you can provide a link to a post on your website where the issue happens. Make sure that you use the latest AMP plugin version.

There was such a problem in previous plugin versions but they were fixed, so at the moment there are no more know issues with it.
Most similar problems were caused by ads not being entered properly or user content.

Thanks

Post count: 220

Can you my website

https://www.techiexpert.com/

Post count: 22421

Hello,

It is your amp ads that have inline styles. Please check your ads on amp and replace any inline style attribute with ‘style amp-custom’

Thank you!

Post count: 220

Thanks @bogdan Can you please share screens on how to edit this ??

Post count: 22421

Hello,

I’m not sure what your ad code looks like in order to be able to help. Please contact us via email at contact@tagidv.com and provide a link to your site and wp-admin so we can login and inspect the ad codes used on your amp template

Thank you!

Post count: 220

Please check mail with the same subject line

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