Hi everyone,
I’m facing an issue on my website where the images are either getting cropped or only half-loading. The images are supposed to display in full, but they seem to be cut off or not loading properly, especially on collection pages and product grids.
I’m wondering if this is related to the way the HTML or CSS is structured. The images are dynamically loaded from a CMS, and the issue seems to persist across different devices and browsers. I’ve checked for possible padding or margin conflicts but can’t seem to pinpoint the exact problem.
Website Link: https://spiritualgleam.com/ ( check this images are not loading fully )
Here’s a sample of the HTML and CSS code used:
HTML:
CSS:
.product-image {
width: 100%;
height: auto;
object-fit: cover;
overflow: hidden;
}
Is there anything obvious I might be missing? Could this be an issue with how the image container is sized or maybe the server-side image processing?
Any guidance or tips would be much appreciated