Hi people! I have a question about the quantity selector. I tried a lot of ways but nothings works. I want to move the quantity selector to the center or next to the "add to cart’’ button. My theme is "Sense’'. I will be happy if someone helps me to solve my problem
Greetings.
@Vegoo
Welcome to the Shopify community!
Thanks for your good question.
Please share your store URL.
So that I will check and let you know the exact solution here.
To center quantity selector:
-
Go to admin panel > Online Store > Themes > click Actions dropdown > click Edit code button
-
Open base.css file in Assets directory
-
Find CSS rule for .quantity class, add below code and click Save
margin: 0 auto;
Hi @Vegoo ,
Please share your store URL and if your store is password protected then please provide password too.
You can take a picture of the place you want to edit.
So that we can help you.
Please add the following CSS code to your assets/base.css bottom of the file.
.product-form__input .quantity{ margin:0 auto !important;}
Thanks!
Hi @Vegoo ,
You can follow the instruction below:
- Go to Online Store->Theme->Edit code
- Asset->/base.css->paste below code at the bottom of the file:
.product-form__input .quantity{
margin:0 auto !important;
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Best regards.
You’re amazing, thank you

