Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
Hello @IllIlIl1
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.quantity:after, .quantity:before {
box-shadow: unset !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Hello @IllIlIl1
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.quantity:after, .quantity:before {
box-shadow: unset !important;
}
</style>
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
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.quantity {
width: calc(12rem / var(--font-body-scale) + var(--inputs-border-width)* 2) !important;
}
.quantity__button {
width: calc(5rem / var(--font-body-scale)) !important;
}
.quantity__input {
padding: 3px !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024