Search for: Log In Free Support [Resolved] Image not properly showing in AMP Home › Forums › Support › Image not properly showing in AMP This topic has 5 replies, 3 voices, and was last updated 3 months, 3 weeks ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts November 2, 2020 at 9:46 am #1514909 Jayanta Hi, When I am enabling AMP (along with the AMP for GeneratePress plugin), the top WPSP section is not showing properly. The problem is not there when AMP is disabled. The problem is showing (with AMP enabled) in both mobile and desktop. November 2, 2020 at 2:25 pm #1515288 TomLead Developer Lead Developer Hi there, How can we view the AMP version? ?amp doesn’t seem to be working. Let us know π Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development November 2, 2020 at 7:59 pm #1515479 Jayanta Hi Tom, thanks for your reply. I deactivated the AMP plugin as it was not showing nicely. Activated it again. You may view the AMP version here Everything else seems okay. Just the top WPSP thing. November 3, 2020 at 6:52 am #1516047 DavidStaff Customer Support Hi there, try adding this CSS: .wpsp-grid amp-img.amp-wp-enforced-sizes[layout="intrinsic"] > img { object-fit: cover !important; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ November 3, 2020 at 7:01 am #1516063 Jayanta Hi David, The code works perfect! Thank you so much. Now the website is AMP-First (Native AMP). Who says GeneratePress isn’t good for magazine layout! π November 3, 2020 at 8:16 am #1516382 DavidStaff Customer Support Awesome – glad to be of help! Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In