Shopify themes, liquid, logos, and UX
hello, i am trying to center the add to cart en buy now product button on Dawn theme, i did it with the price but i have trouble with those 2 buttons : https://mobilegear.fr/products/refroidisseur-de-telephone-wekome
That is my code working with the price but not the buttons :
h1,
.price,
.add-to-cart,
.buy-now {
text-align: center;
}
h1 {
text-transform: uppercase;
font-weight: bold;
}
h2 {
font-weight: bold;
text-transform: uppercase;
}
Solved! Go to the solution
This is an accepted solution.
Add this css In your Base.css File
.product.product--small .product-form form.form {
text-align: center;
display: flex;
justify-content: center;
}
.product.product--small .product-form .product-form__buttons {
width: 100%;
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Contect On My Mail :-Mail@gmail.com
This is an accepted solution.
Add this css In your Base.css File
.product.product--small .product-form form.form {
text-align: center;
display: flex;
justify-content: center;
}
.product.product--small .product-form .product-form__buttons {
width: 100%;
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Contect On My Mail :-Mail@gmail.com
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024