All things Shopify and commerce
Hello there ,
Is there any way to change the style of the quantity box in the product page , Right now it looks like oval shape , i want it to look like this .
Can anyone assist me with this .
Thank You !!
Solved! Go to the solution
This is an accepted solution.
Hey @Anonymous
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>
.quantity {
border-radius: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @Anonymous
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>
.quantity {
border-radius: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you ,
How to reduce that box width?
Hey @Anonymous
Keep the previous code and add this new code in theme.liquid file above </style> with the same steps.
.quantity {
border: solid 1px black !important;
width: 110px !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @Anonymous ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your base.css file and paste the following code below:
.product-form__quantity .quantity {
border-radius: 0px !important;
border-color: #ddd;
}
Note: Always use the css code in the css files.
Thanks
User | RANK |
---|---|
44 | |
42 | |
42 | |
28 | |
21 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023