Amp pages not showing icons

Posted in: Newspaper
Post count: 6

Hi,

The AMP pages are not loading the icons like search etc. How can I fix this?

screenshot

https://www.google.be/amp/s/www.mensenzijnmedia.be/gist-onze-beste-vriend/amp/

Post count: 35449

Hi,

I test your problem with my mobile with amp and with out amp, and is working fine, please try with chrome on mobile
Simple:
https://www.screencast.com/t/vBK7EZrl
With AMP:
https://www.screencast.com/t/VOlld4dn8Tuw

Thank you for your understanding.

Post count: 6

Hi,

Indeed it works when surfing to those pages. But the icons are not showing when opening it from the Google search results. Please open this Google search on mobile and see it yourself. https://goo.gl/aLTA2K

Post count: 35449

Hi,

I’ve check how you mentioned and indeed, the icons are not showing, but I’ve check this on our AMP page to, and this problem do not exist, please check your self
-> https://www.google.ro/search?q=Newspaper+Theme+is+Google+AMP+ready!&rlz=1C1GCEA_enRO812RO813&oq=Newspaper+Theme+is+Google+AMP+ready!&aqs=chrome..69i57.687j0j7&sourceid=chrome&ie=UTF-8

Also please try to deactivate all not theme plugins that you have, clear all cache, re-save the permalinks, and try again.

Thank you for your understanding.

Post count: 35449

Hi,

I’ve check how you mentioned and indeed, the icons are not showing, but I’ve check this on our AMP page to, and this problem do not exist, please check your self
-> https://www.google.ro/search?q=Newspaper+Theme+is+Google+AMP+ready!&rlz=1C1GCEA_enRO812RO813&oq=Newspaper+Theme+is+Google+AMP+ready!&aqs=chrome..69i57.687j0j7&sourceid=chrome&ie=UTF-8

Also please try to deactivate all not theme plugins that you have, clear all cache, re-save the permalinks, and try again.

Thank you for your understanding.

Post count: 6

Thanks, I’ll try that.

Another question. Where can I edit the css or theme files for the AMP pages?

Post count: 35449

Hi,

In order to add some css to AMP you need to edit the style.php file from amp plugin, so you need to go in wp-content>plugins>td-amp>templates>style.php (example https://www.screencast.com/t/vIUHFAbD6uRH ).

Thank you for your understanding.

Post count: 6

Hi,

In the amp tester I get a 404 error on the icon fonts. See screenshot
Screenshot
Full size screenshot: https://ibb.co/HpqQRW2

I used the Google Amp Test where Icons are also not showing: https://search.google.com/test/amp
Used url to test: https://www.mensenzijnmedia.be/universele-verklaring-van-de-rechten-van-de-mens/amp/

  • This reply was modified 7 years by JohanTD.
Post count: 35449

Hi,

That error comes because the server can’t load the font woff .
I checked your amp url and now is all good.
https://www.screencast.com/t/VQL2C3rM
https://www.screencast.com/t/xlpQGnLYi

Thank you.

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