Hello,
I want to make the 4x ‘Image with texts’ on my homepage to be the same size image.
Depending on which image I upload depends on the size of the image.
Password: KAQ2021
Thanks
Saul
Hello,
I want to make the 4x ‘Image with texts’ on my homepage to be the same size image.
Depending on which image I upload depends on the size of the image.
Password: KAQ2021
Thanks
Saul
Hi @KingandQueen ,
I might not completely understand your question. But if you want the image to be the same size no matter what you put in, then you can use the code below.
.feature-row__image-wrapper.js > div {
aspect-ratio: 1;
}
.feature-row__image.lazyautosizes.lazyloaded {
aspect-ratio: 1;
height: auto;
object-fit: cover;
}
Hi,
I think you have understood correctly.
Will this work for all devices? Mobile, Tablet and desktop?
Or will I need additional coding?
Thanks
Saul
Yes. The code is device friendly. The code is suppose to make your images square
Thank you.
The size is quite large, what do I need to add to it, to adjust the size of the image? Again, I want this to be flexible based on the device being used.
Thanks
Saul
Also not all of my images are the same size still.
Please check the website.