Site logo

Archived topic

how to make the image same height as all images in query loop?

1 reply · Started by eran on October 9, 2022

Viewing posts 1–2 of 2

Hi,
I have a query loop of some pages, and when I upload a new page, sometimes the image height is not equal to the other images height.

I add a photo:
https://imghostr.com/05054b_o9d

How can I fix this?

When I set the height to the image, it fixes it, but I get this error:
https://imghostr.com/46453c_2jb

Plus, I tried to use "object-fit" = cover, but it didn't help.

Hi there,

the best solution is to make sure all featured images you upload are the same size.
That way you will not have any consistency issues.

If you have to resize the image in the editor and use the Object Fit method, then select a smaller Attachment size to suit eg. medium as that will load the 300px size image.

This archived topic is closed to new replies.