Appreciate if someone can help with code to align center “Add to cart | Buy with shop | More payment options”? This is in Trade Theme
Topic summary
Users are seeking CSS code to center-align the product page buttons (\
Hi @sam_8599
Would you mind to share your store URL? Thanks!
I was about to post the same question, please if you manage to get an answer let us know. Having the same problem here. As you can see in my image “free shipping” is correctly aligned but not the “add to cart” button…on the mobile is ok…my is the Dawn Theme
The problem is in any product but here is one example:
https://www.regalallureapparel.com/products/baby-carrier-ergonomic-kangaroo-bag-accessorie
Thanks for the info, 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-form__buttons {
max-width: 100% !important;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Please, check the solution that i reply. I think it will work also in your store. Thanks!
It did worked on my store as well. Thanks this is a valid solution for Dawn Theme.


