'Woocommerce - remove the quantity arrows within the quantity box [duplicate]
I have customised the quantity selector to include plus/minus arrows instead.
When you click in the box though, it shows arrows. How can I remove these arrows? Can't find the code with inspect as they disappear! They're very annoying as it offsets the centred text!
Example: https://mr-velocity.com/wp-content/uploads/Screenshot-2022-04-22-at-11.55.09.png
Any help MUCH appreciated :)
Solution 1:[1]
You can use CSS to hide them as stated here https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tilo |
