Support » Plugin: AMP » Amp can’t read some css styles

  • Resolved khanhngn

    (@khanhngn)


    Hello,
    thank you for making this plugin.
    can you help to check somehow the style main.css can’t be loaded on the amp version. I guess there are some others css files can’t be loaded too. Can you check it?
    thank you in advance

    my UUID: ampwp-f79ca36c-fc90-5b4d-8c38-1d0d28add92a

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Fellyph Cintra

    (@fellyph)

    Hi @khanhngn,

    Thanks for contacting us, I would check your CSS budget, because the AMP framework only allows 75 KB CSS on each page, so the AMP plugin adds CSS optimizations, which are sometimes exceeded by third-party plugins or themes.

    If you are not sure how to find exceeding the CSS budget, follow the below steps:

    1) Make sure you have enabled the AMP validation tool
    Go-to: Users > Profile > check the checkbox for AMP Development tool > save

    2) Visit AMP page exceeding CSS budget check Admin bar for AMP option locate submenu CSS budget and click on it (screenshot)

    3) Locate the source of excessive CSS (screenshot)

    4) If one of the plugins adds excessive CSS find an alternative plugin from the AMP ecosystem

    You can learn more about the Reader mode video below:

    Thread Starter khanhngn

    (@khanhngn)

    Thank you so much for your help. I’m checking it out.

    Plugin Support Fellyph Cintra

    (@fellyph)

    As we didn’t receive a response I’ll mark this as resolved.

    Plugin Support Fellyph Cintra

    (@fellyph)

    Feel free to open a new support topic if you require any further assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.