Hello! My store has a left-aligned buy button, and I don’t know how to fix. I want it to be centered. Thanks in advance! My store is clubevince.com.
Bigger picture:
Hello! My store has a left-aligned buy button, and I don’t know how to fix. I want it to be centered. Thanks in advance! My store is clubevince.com.
Bigger picture:
Hi @ClubEvince ,
Please follow the instructions below.
product-form .product-form__buttons {
margin: auto;
}
Hello @ClubEvince ,
You can try to follow these steps:
.product-form__controls-group {
display: flex;
justify-content: center;
}
Hope this can help you out. Let us know if you need any further support.
Ali Reviews team.
You can solve it by adding CSS at the bottom of base.css file in store admin > Sale channels > Online store > Themes > Edit code > Assets >
.product-form__buttons { margin: 0 auto; }
Hi @ClubEvince
I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.
Please add this css in your bottom of the css file:
.product-form__buttons {margin: 0 auto !important;}
Regards,
San
Hello @ClubEvince
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.product-form__buttons {
margin: 0 auto;
}