Shopify themes, liquid, logos, and UX
Hi everyone,
Does anyone know the CCS code to input to align products to the bottom? I am using Testament theme, but I'm guessing the code would be the same for all themes. In the photo I have a pasted below I have drawn a red line where I would like the text to align.
Second question: Does anyone know how to ensure all the product images that are uploaded are the same size?
Thanks community!
Hi Kanoa31
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file stylesheet.css and add this code at the end of the file
.collection__page-products.product-loop .product-index, .product-loop .product-index { display: grid; } .product-info { display: flex; align-items: end; }
Result:
- Regarding the images being uneven, this is because the original image sizes are not the same, which causes the discrepancy. You should choose images with equal sizes.
Best,
LizHoang
Thank you for this suggestion. The alignment I am looking for is like this:
Where the bottom of the frames and the text line up at the bottom. Is there appropriate code to achieve this?
Hi @kanoa31,
Please share the store url.
Hi @kanoa31
Please, share your store URL. Thanks!
Hello @kanoa31,
Here are the steps to apply the necessary changes in your Shopify store:
.featured__collection-product {
align-content: flex-end !important;
}
Let me know if you need further assistance!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025