Title: AMP problem
Last modified: June 9, 2020

---

# AMP problem

 *  Resolved [valery888](https://wordpress.org/support/users/valery888/)
 * (@valery888)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-problem-8/)
 * The site is not in index because of the problem. In google search console is 
   written:
 * HTML tag with AMP technology has an invalid layout specified by its attributes.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-problem-8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * (@reneesoffice)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-problem-8/#post-12962680)
 * [@valery888](https://wordpress.org/support/users/valery888/) thanks for your 
   topic.
 * I believe the issue is with your Reader Mode AMP templates from your [theme Boombox](https://themeforest.net/item/boombox-viral-buzz-wordpress-theme/16596434).
 * For example [in this post](https://patriciashairsalon.com/which-lasts-longer-hair-color-or-hair-foils/amp/),
   [this image](https://patriciashairsalon.com/wp-content/uploads/2020/04/free_horizontal_on_white_by_logaster-5.png)
   is in header even though it is not visible. The image (`amp-img`) is missing 
   dimension attributes (such as the _width_ and _height_) and corresponding values
   which is [required for AMP documents](https://amp.dev/documentation/components/amp-img/).
 * You’ll see the missing _height_ attribute is being flagged by [the AMP validator](https://validator.amp.dev/#url=https%3A%2F%2Fpatriciashairsalon.com%2Fwhich-lasts-longer-hair-color-or-hair-foils%2Famp%2F).
 * I’m not sure if uploading images to the header of the AMP templates is a feature
   of the Boombox theme, but reaching out to its authors would be the next best 
   step to fix this.

Viewing 1 replies (of 1 total)

The topic ‘AMP problem’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/amp-problem-8/#post-12962680)
 * Status: resolved