Shopify themes, liquid, logos, and UX
Wanting to have my add to cart wider,
not sure why its stuck to only one side, right now using the trial for theme theme still deciging if going to buy but if i cant change this i will switch - link is https://7xh2x3wxivkw6odf-71252148259.shopifypreview.com
Hi @pnsempire
Click the dropdown on top and select Product page.
In the left sidebar, look for Theme settings or Custom CSS, or click "Add section" or Edit code (if available in trial).
If there's a Custom CSS option (some themes support this), paste the following code:
<style>
.product-form__buttons {
width: 100% !important;
display: flex !important;
justify-content: center !important;
}
.product-form__submit {
width: 100% !important;
max-width: 500px !important;
}
</style>
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hi @pnsempire
Try this one.
@media screen and (min-width: 641px) {
.product-form__payment-container>* {
width: calc(100% - 18px) !important;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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