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

Solved

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

notaaron1
Tourist
8 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
118 14 20

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
6733 1818 2201

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 Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


JohnE10
Shopify Partner
118 14 20

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
8 0 1

Thank you it worked, truly appreciate the help

JohnE10
Shopify Partner
118 14 20

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