Iām trying to take away the original black outline of the quantity selector and just leave the grey outline around it.
store link: https://80f465-18.myshopify.com/products/test%20%20%20%20%20%20%20////%20%20
passcode: saydia
A user wants to modify the quantity selector on their Shopify Dawn theme product page by removing the black outline while keeping the grey border.
Initial Solution:
</body> tagbox-shadow: unset !important; on .quantity:after and .quantity:before selectorsFollow-up Request:
The user asks how to:
Additional Customization:
A second CSS solution is provided to:
calc() functionsBoth solutions involve adding custom CSS to the theme.liquid file. The discussion appears resolved with working code snippets provided.
Iām trying to take away the original black outline of the quantity selector and just leave the grey outline around it.
store link: https://80f465-18.myshopify.com/products/test%20%20%20%20%20%20%20////%20%20
passcode: saydia
Hello @IllIlIl1
You can add code by following these steps
Go to Online Store ā Theme ā Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Good Solution.
Thanks, is there also any way to bring the -,+ icons closer to the number of the quantity selector, as well as make it a little smaller?
You can add code by following these steps
Go to Online Store ā Theme ā Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.