Image stretching vertically on mobile

[ad_1]

Hi –

I apologize if this has been asked and answered already (I did search the sub without luck). When I publish a post, the image that I include with it stretches vertically on mobile devices but appears normal on desktop. I’ve Googled this without finding a solution. To see what I mean, you can visit my blog at [woolwich1886.com]). I’d appreciate any insights you can provide.

Thanks!

[ad_2]
1 Comment
  1. It’s because for whatever reason you have inline styles on all images setting them to a fixed width and height. This causes them to be scaled unproportionally on mobile because you have a max-width of 100%.

    You either need to find out where those inline styles are coming from and remove them, or you could target the images in your content and add an `object-fit:cover;` to them to stop them from being distorted.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer