All things Shopify and commerce
Hello,
Is someone please able to help me center the quantity selector itself - I have centered to product page container in mobile but for some reason the quantity selector will not center too. P.s I only want it centered on mobile.
Thank you! Also please only message me through here.
URL: https://www.habooequestrian.com.au/products/tackmate
Hey @ellacoker
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
.price-per-item__container {
justify-content: center !important;
}
}
</style>
RESULT:
If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
<style>
@media screen and (max-width: 767px) {
.price-per-item__container {
justify-content: center;
}
}
</style>
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution
Hi @ellacoker
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
.price-per-item__container {
justify-content: center !important;
}
Result
Best,
DaisyVo
thank you so much daisy, this worked perfectly. are you able to tell me how i can get those colour swatches centered too? please see photo. thanks so much.
Hi @ellacoker I see it center
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025