• Resolved craigwd

    (@craigwd)


    Hi,

    I have recently inherited a website & my client wishes to have AMP pages enable across the entire site. I have installed the AMP plugin + Yoast glue and now the amp pages look hideous (White space all over the place & massive icons). I understand that AMP strips out CSS and JS but is there not a way to add some styling to the pages? Have I missed something?

    Also the site uses Astro theme & Elementor so I’m wandering is it just not compatable?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter craigwd

    (@craigwd)

    Also if it’s just the case that Astro mixed in with Elementor isn’t compatible. What themes would you recommend?

    Plugin Author Weston Ruter

    (@westonruter)

    While Astra is AMP-compatible, I do not believe Elementor is compatible (at least last time I checked). I actually chatted a bit with Elementor folks at WCUS this last weekend about making their plugin AMP-compatible, but I haven’t done a thorough analysis.

    The AMP plugin only strips out CSS if it is over 50KB and the AMP plugin can’t minify it down to below that limit. This is a challenge that we’ve seen with page builders, that they include a lot more CSS than is needed, thus causing a lot of bloat which the AMP plugin striggles to tree shake to bring below the 50KB limit.

    By the way, the Yoast Glue plugin is not needed anymore.

    The themes which are known to be AMP-compatible are listed at https://amp-wp.org/ecosystem/themes/

    For page building, I generally recommend using Gutenberg (i.e. WordPress core) and compatible plugins like Atomic Blocks.

    That being said, I’d love for Elementor to also be AMP-compatible, but I don’t know how soon that will happen.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AMP for a website built with Astra & Elementor’ is closed to new replies.