Not able to align Image Properly on AMP Mobile Pages?

Posted in: Newspaper
Post count: 12

Hi,

I am not able to align image properly on amp mobile pages like as I show you in the screenshot below.

https://prnt.sc/n8li5d

As you can see in the screenshot, the image get out of the box in the right side. I want to horizontally align it to center by fitting it inside the same container as the text and other elements of the page are.

Post count: 22421

Hi,

Please provide a link to your website so we can inspect this element

Thanks

Post count: 12

You can check this link as an example. Try to open it in desktop view to understand what I’m saying.

Post count: 35449

Hi,

I check your link in amp version on mobile and this is looking normally -> https://www.screencast.com/t/1yMSQdH14 if you want you can use this custom css for this images -> https://www.screencast.com/t/nYPi3sZ2
body .post .td-post-content .wp-block-image .aligncenter > * {
max-width: 90%;
width: 100%
}

After you set the code in Theme panel>mobile theme>Custom code > css please check again with mobile phone the amp version.

Thank you!

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