Issue in AMP Paired mode

Posted in: Newspaper
Post count: 68

Hi,

I’m using the latest newspaper theme and AMP plugin. In that when I use the classic amp mode everything is working properly but When I use Paired mode, font is not loading properly in the desktop.

URL I tested: http://crictamil.in/kxip-vs-rr-match-at-jaipur/?amp

Please help me resolve it.

Post count: 68

I have checked the Google amp plugin team regarding this. They have mentioned the below points.

Your theme’s stylesheet (Newspaper-child/style.css, which in turn imports Newspaper/style.css) is still massively too big at over 118 KB (1.2 MB without compression!). Again, the limit for AMP is 50 KB.

That’s why you get a memory size error in the CSS parser part, because that is simply too much for it.

A few suggestions/recommendations:

1. Try to reduce your CSS, either manually or by updating your theme. There are lots of things you can probably remove, for example everything that targets IE 11 and below
2. Reach out to your theme’s developers and ask them to reduce the CSS and perhaps even directly include AMP compatibility.
3. Try to increase your PHP memory by putting define( 'WP_MAX_MEMORY_LIMIT', '256M' ); into your wp-config.php file

Post count: 35449

Hi,

If you are not using mobile theme with AMP please use only the classic AMP, because the Newspaper theme do not have a template for AMP, only the mobile theme have template for AMP and the native and paired mode require theme’s templates -> https://www.screencast.com/t/vczzJyUNBE

Thank you!

Post count: 68

I have used it with the mobile theme only. But when I checked the amp page in desktop it throws an error. Now the issue got resolved after updating the theme to latest version.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.