skip to Main Content

Left/Right WooCommerce Quantity Selector Arrows

Important: You can now choose from different plus/minus icon options in the Customizer under Appearance > Customize > WooCommerce (Total) so you don't need any custom CSS for this!

The following custom CSS can be used to modify the default product quantity input field arrows.

body .wpex-quantity-btns {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    border: 0;

.woocommerce .quantity .wpex-quantity-btns .plus,
.woocommerce .quantity .wpex-quantity-btns .minus {
    position: absolute;
    top: 0;
    width: 30px;
    border: 1px solid #e4e4e4;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

.woocommerce .quantity .wpex-quantity-btns .plus {
    right: 0;
    border-left: 0;

.woocommerce .quantity .wpex-quantity-btns .plus::after {
    display: none;

.woocommerce .quantity .wpex-quantity-btns .minus {
   left: 0;
   border-right: 0;

.woocommerce .quantity {
    position: relative;
    padding-left: 30px;
    padding-right: 30px;

.woocommerce .quantity.buttons_added input[type=number] {
    margin-right: 0;
    margin-left: 0;
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top