Hi! I wanted to change my blog layout so edited some things, but the image is zoomed in. How can I make the image covered but also max height or width? So now you see just a little bit of the image. I want to see the whole image (total width or height).
Hope you understand what I mean. See link in private. And this is the code i’ve used:
.big-preview img {
border-radius: 0px;
height: 250px;
object-fit: cover;
}
Thanks a lot!!
When I upload a smaller image it is going fine, but I’m wondering why you see just a smal part of the image when I upload a big image. Hope you can help me!
Hi,
Thank you for the inquiry.
When the size of the registered thumbnail is not the same as the size of the uploaded image, WordPress automatically crops it to the specified thumbnail dimension. We could set it so that the thumbnail is not cropped, but the blog grid or the current blog layout may look different than it is now.
Best regards,
Ismael