• Resolved anastasiaj

    (@anastasiaj)


    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/

    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/

    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

    (@anastasiaj)

    Now I have seen the HTML code of the VALID AMP page…And it ALSO has the same line of code:
    @media(max-width:1024px){.ap-fi{width:100%;}}

    BUT its not recognized as an error…

    Dont understand why…

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    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

    (@anastasiaj)

    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.