Solved

How Can I Center The Quantity Button (On Every Product Page) Using A Custom CSS Code?

notaaron1
Tourist
7 0 1

Hello, managed to center everything on my product page via custom CSS Code but having an issue centering the Quantity Button. Would appreciate any help or advise!

 

image0 (15).jpeg

Accepted Solution (1)

JohnE10
Shopify Partner
112 14 19

This is an accepted solution.

Hi,

 

Try adding this code in the custom css box in the theme settings:

 

.quantity {
  margin: auto !important;
}
If my reply was helpful, Like and Accept. Or Buy Me a Beverage
App Development/Custom Modifications, Visit My Gig and let me how I can help
For help with your store speed optimization, Check Out My Other Gig
Feel free to email with any questions: ProjectCoder10@gmail.com

View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
3769 953 1185

Hey @notaaron1 

 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

JohnE10
Shopify Partner
112 14 19

This is an accepted solution.

Hi,

 

Try adding this code in the custom css box in the theme settings:

 

.quantity {
  margin: auto !important;
}
If my reply was helpful, Like and Accept. Or Buy Me a Beverage
App Development/Custom Modifications, Visit My Gig and let me how I can help
For help with your store speed optimization, Check Out My Other Gig
Feel free to email with any questions: ProjectCoder10@gmail.com
notaaron1
Tourist
7 0 1

Thank you it worked, truly appreciate the help

JohnE10
Shopify Partner
112 14 19

You bet.

 

Cheers,

If my reply was helpful, Like and Accept. Or Buy Me a Beverage
App Development/Custom Modifications, Visit My Gig and let me how I can help
For help with your store speed optimization, Check Out My Other Gig
Feel free to email with any questions: ProjectCoder10@gmail.com