How would we align 'add to cart' button to bottom in collections (stilleto theme)?

Topic summary

A user encountered alignment issues with their product grid when using review and add-to-cart apps together, causing buttons to appear misaligned and unprofessional.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add the following CSS at the bottom:
.product-item__inner.global-watch-product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 35rem;
}

This CSS creates a flexbox layout that vertically distributes product card elements and sets a fixed height, ensuring buttons align consistently at the bottom regardless of content variations.

Status: Resolved - the original poster confirmed the solution worked perfectly.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hello, im using an app for reviews and other app for the add to cart button. But it seems like it misalign and it makes it look very ugly and unprofessional. Can some one please help me how I can align the add to cart button. Maybe I need to desinstall the app and add a code after modify?Please help and thank you in advance :slightly_smiling_face:

www.PandoraNarghileaShop.com

1 Like

Hi @Adrian92

Do you mean this one?

if it is, check this one:

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.product-item__inner.globo-swatch-product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 35rem;
}

And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Works peftectly, thanks!