Title: Validation error
Last modified: January 11, 2019

---

# Validation error

 *  [rommieg](https://wordpress.org/support/users/rommieg/)
 * (@rommieg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/validation-error-66/)
 * I have problem in amp for wp. The pages won’t validate: “The text inside tag ‘
   style amp-custom’ contains ‘CSS i-amphtml- name prefix’, which is disallowed.”
 * As far as I can tell the problem is with a font that is being used (I could be
   wrong). I have not added any custom css so presumably the problem css is being
   generated by the Amp for WP plugin.
 * Can you please help?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvalidation-error-66%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Mohammed Kaleem](https://wordpress.org/support/users/beingsmart/)
 * (@beingsmart)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/validation-error-66/#post-11077458)
 * Hi [@rommieg](https://wordpress.org/support/users/rommieg/)
 * I’ve checked the error and I noticed that you are adding some extra CSS for the
   class ” i-amphtml ” from the global section which is not allowed and because 
   of that, you are getting this errors.
 * So please don’t target this i-amphtml class which dynamically generated.
 *  Thread Starter [rommieg](https://wordpress.org/support/users/rommieg/)
 * (@rommieg)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/validation-error-66/#post-11078175)
 * Thanks for the quick response.
 * I’m not a coder and a relative beginner in WordPress. I didn’t manually add any
   CSS to this site. I have looked and pondered over the Global section of the AMP
   settings. I had set the Global colour scheme using the options provided (so that
   should be OK?) and there was am error in the Typography – missing Google font
   API. I got that, added it and selected the same font class as used in the theme
   template.
 * I purged the cache and rechecked. I am still getting the error.
 * What do I need to do?
 *  [AbdulAzeem](https://wordpress.org/support/users/abdulazeem/)
 * (@abdulazeem)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/validation-error-66/#post-11081011)
 * Hi [@rommieg](https://wordpress.org/support/users/rommieg/),
 * Can you please contact us directly on [team@magazine3.com](https://wordpress.org/support/topic/validation-error-66/team@magazine3.com?output_format=md)
   so that we can personally debug and resolve the issue at your end and we will
   fix the issue within the span of time.
 * please mentioned that you came from the forum and please attached the forum thread.
 * Hope it helps.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Validation error’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 3 replies
 * 3 participants
 * Last reply from: [AbdulAzeem](https://wordpress.org/support/users/abdulazeem/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/validation-error-66/#post-11081011)
 * Status: not resolved