Robertopatella Posted January 15 Share Posted January 15 Hello, I would like for my images, both horizontal and vertical, to have the same height within my carousel container without having to assign a universal crop to the images. Right now it looks like this: I would really love for it to look like this: Where the horizontal images are full size (matching the height of the vertically oriented images. Is there any CSS or some other way I could make this happen? Thanks in advance for the help. Roberto Link to comment
Robertopatella Posted January 15 Author Share Posted January 15 Hi! It is https://www.robertopatella.com/ Thanks! Link to comment
yubrajs Posted January 15 Share Posted January 15 Remove this code from custom css: .user-items-list-carousel__media { object-fit: contain !important; } if the above code in not in the custom css, then add this code: .user-items-list-carousel__media { object-fit: cover !important; } Link to comment
Robertopatella Posted January 15 Author Share Posted January 15 OK i did that, but now the horizontal images are cropped vertically like this: Link to comment
designedbycarolyn Posted June 19 Share Posted June 19 On 1/15/2024 at 9:30 PM, Robertopatella said: OK i did that, but now the horizontal images are cropped vertically like this: Hello! Just wondering if you have ever gotten the solution? I would like to achieve the same look but I am struggling to do so! Link to comment
Luca_ Posted July 1 Share Posted July 1 (edited) same problem, do you find a solution? Edited July 1 by Luca_ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment