• When I use the AMP validator, it shows me this problem:
    The text (CDATA) inside tag ‘style amp-custom’ contains ‘CSS i-amphtml- name prefix’, which is disallowed.

    How can I resolve this problem? thank you in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @pablopeter

    I went through your site and checked that you are adding a CSS in the Custom CSS option under Advanced tab of AMP Options panel.

    Please see this screenshot: https://take.ms/A86Nv

    To be more specific, this is the invalid CSS that has been added “.i-amphtml{display:none}#i-amphtml{display:none}”

    the usage of “.i-amp” classes are not allowed because they are dynamically generated by AMP.

    Hope that helps,

    Regards,
    Ahmed

    Thread Starter pablopeter

    (@pablopeter)

    Thank you for your answer @ahmedkaludi , the problem is resolve!. I will change that score, great support.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    hi @pablopeter

    Thank you! We are proud to have you as our customer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tag ‘style amp-custom’ contains ‘CSS i-amphtml- name prefix’, which is disallowe’ is closed to new replies.