Shopify themes, liquid, logos, and UX
Hello,
Please can someone advice me on how i can center the product title and price so it sits in the middle, under the product image and not to the left as is currently. Thank you
Solved! Go to the solution
This is an accepted solution.
hello @Mt9961
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
.product-form.product-form-product-template.product-form--payment-button-no-variants{
margin: 0px auto;
}
Please share your store URL & screenshot what do you want.
Thanks!
so i managed to find a solution for picture 1 where the product name and price is centered underneath the product image on the product page
however on picture 2 when clicking on the product, the heading and price is still aligned to the left. is it possible for it all to be aligned to the centre? Thank you
https://bow-and-miller-interiors.myshopify.com/
password: detreu
hello @Mt9961
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media only screen and (max-width: 776px) {
.product-form product-form-product-template{
max-width: 100%;
}
.product-form__controls-group.product-form__controls-group--submit {
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
justify-content: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
}
.product__price .price {
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.product-single__meta {
text-align: center;
}
}
Thank you for your response however this did not work 😞
This is an accepted solution.
hello @Mt9961
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
.product-form.product-form-product-template.product-form--payment-button-no-variants{
margin: 0px auto;
}
perfect thank you very much!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025