How can I properly align the add to cart button under featured products?

Topic summary

A user is trying to add an “add to cart” button beneath featured collection products but is struggling with proper alignment. They have successfully added the button code but cannot position it correctly under the products.

Another user responded with a screenshot showing the desired layout. The original poster confirmed this is what they want, with two additional requirements:

  • Products should be arranged in a straight line
  • They need the CSS code to achieve this alignment

The discussion remains open, awaiting the CSS solution for proper button placement and product alignment.

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

Hi, I want to add cart button under the featured collection products . I have added the code to add button but i am not able to align it under the collection products. can someone help me to align it. Thanks

store link : https://561e9c-5.myshopify.com/

Hi, @AwaisRaza .

You want like this.

1 Like

yes but products should also come in straight line. And give me code also. Thanks