How can I properly align products on the collections page?

I am trying to allign the products on the collections page, right now they are not alligned properly so one title is a little higher than the other etc. Does anyone have a solution, I know that the images should be the same size however I have hundreds of images so this would take ages. I am using the debutify 5.0 theme this is my url: https://www.phonesimpel.nl/ thanks in advance!

1 Like

Hi @niels_127
Sure, it is possible by implementing proper CSS.

For example:

.card-image img {
    height: 250px;
    object-fit: cover;
}

But in order to show all images properly. We have to assign proper sizes for all devices i.e. Desktop/Tablet/Mobile

1 Like

Thankyou for your response! Where should I add this css?

Thankyou this works, could you maybe also tell how I can edit the size of the text below so that this also alligns?

You are welcome. You can add this CSS in the end of any .css file of the theme.

In order to align titles and images, need to sync all CSS for all devices. If you want, I can assist you with custom solutions also.

Happy Coding

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > theme.scss.css and paste this at the bottom of the file:
.grid-product--wrapper {
padding-top: 100.584158%!important;
}

1 Like

Thankyou so much

1 Like

Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like and Accept Solution.