First H2 Appears Error \"text-align center

Posted in: Newspaper
Post count: 9
Post count: 9544

Yes, you need to remove all inline HTML to pass AMP validation.

Best way is to search/replace the dbase using MySQL/phpMyAdmin or similar (see various tutorials online on how to do this). Not part of theme. The center text element in posts is part of WordPress editor, and technically should always have been a style ‘class.’

Basically you need to change anything that you want centered to a
class="text-center"

Same with any inline styles you may have used for tables or comparable.

Hope that helped!

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