I have been trying to align our “Popular Products” section on our Home Page, however all the code I have tried does not fix the issue.
I want the text of the product title and price to be in line with the other product cards in the featured collection. For example, the “Tonies Starter Set - Red” title text and price are too high up compared to the others.
The images are in the correct position, however when there is a product within this featured collection with a shorter title it ends up like this.
Please let me know if anyone can give any ideas/advice.
The problem occurs because product cards with different image aspect ratios and title lengths are causing inconsistent layout. The main issue is that the Tonies Starter Set card has a different image aspect ratio (72.29% versus 100% for most other products), which pushes the content positioning differently.
Here’s what you need to fix:
Add fixed height to your card content areas by modifying your CSS. You need to ensure all card information containers have the same height regardless of content length.
These CSS changes will create a more uniform look by:
Giving all product information boxes the same minimum height
Making the price information align at the same position
Ensuring the “Add to cart” buttons line up
Adjusting product images to maintain consistent dimensions
The key problem is that your card layout is letting content determine the positioning rather than using a structured grid with fixed dimensions for key elements. These changes should give your product grid a much cleaner, more aligned appearance.
Hope this helps Feel free to email if you’ve any more questions for us.