Having images to fix to 'frame' / width of website

Posted in: Newspaper
Post count: 80

Hey there,

I am having trouble having the 2 or 3 images fit to the width, set within the column of the website. (for example 1/3 + 2/3).

I have tried setting the images to a custom css. Having tried the following codes, but does not seem to work:

.photos {
background-size: contain;
background-repeat: no-repeat;
}

Current Website Url: http://leapdsc.com/leapdsc/client/hdb/delivering-homes/
Image Example: https://1drv.ms/i/s!Ai3uwVtbSehuuIUJtJKMT0B5Rdqwlw

Please do correct and advise me accordingly. Thank you.

Post count: 23312

Hello leapdsc,

Unfortunately, I do not know, what exactly you have added this image to your post page and why it is stretched, sorry! I have made a test on my side, using your image and add it in a simple post. The results which you should optain might look like this -> https://www.screencast.com/t/yE83GCBCbg Try to remove this image and add it again from your Media Library and check the results. Clear all the caches before this.

Thanks for your understanding!

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