Title: Validation error when using pagebuilder
Last modified: September 7, 2020

---

# Validation error when using pagebuilder

 *  Resolved [anastasiaj](https://wordpress.org/support/users/anastasiaj/)
 * (@anastasiaj)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/validation-error-when-using-pagebuilder/)
 * Hi, Im using this plugin and lately I discovered the AMP Pagebuilder. I love 
   it! BUT…When I create my page in AMP Pagebuilder, it shows the validation error…
 * The page is: [https://www.construcciones-alicante.es/chimenea-de-obra/amp/](https://www.construcciones-alicante.es/chimenea-de-obra/amp/)
 * The error is:
    CSS syntax error in tag ‘style amp-custom’ – invalid declaration.
   Line 685:25 .ap-fi{width:100%;}}
 * BUT when I test the pages which I still haven’t build in the bagebuilder, and
   they are automatically created by the plugin, this pages pass the test without
   validation errors. For example this page:
    [https://www.construcciones-alicante.es/](https://www.construcciones-alicante.es/)
 * I have already tried the things with minify options. It worked because before
   I had even bigger errors…So I switched off the MINIFY CSS option and this errors
   disappeared. BUT this one is still here…Dont know what else can I do….
 * Thank you in advance for any help!

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

 *  Thread Starter [anastasiaj](https://wordpress.org/support/users/anastasiaj/)
 * (@anastasiaj)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/validation-error-when-using-pagebuilder/#post-13370050)
 * Now I have seen the HTML code of the VALID AMP page…And it ALSO has the same 
   line of code:
    [@media](https://wordpress.org/support/users/media/)(max-width:
   1024px){.ap-fi{width:100%;}}
 * BUT its not recognized as an error…
 * Dont understand why…
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/validation-error-when-using-pagebuilder/#post-13371711)
 * Can you please turn on Optimize CSS(beta) option? Then check once if the issue
   still persists or not. Then let me know.
 *  Thread Starter [anastasiaj](https://wordpress.org/support/users/anastasiaj/)
 * (@anastasiaj)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/validation-error-when-using-pagebuilder/#post-13372226)
 * Hi, Ahmed, Thank you very much for your help! I have found out the issue!!!!!!!
   I have deleted the BLURB component from the AMP page! And there are no issues
   anymore! I have done the same from the other pages and they are fixed! this is
   so strange why the blurb component causes the issue…
 * Anyway thank you!

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

The topic ‘Validation error when using pagebuilder’ 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

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

 * 3 replies
 * 2 participants
 * Last reply from: [anastasiaj](https://wordpress.org/support/users/anastasiaj/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/validation-error-when-using-pagebuilder/#post-13372226)
 * Status: resolved