The arrows in the QTY box of the Product Page & Basket Page of WooCommerce.
-
Hi
In Firefox you cannot press on the arrows to change the qty number, in the Product Page & Basket Page.
You have to place the mouse cursor to the very far right edge of the arrows
before able to. (only when the cursor changes from ‘Input symbol “I” ‘
TO an arrow symbol)* I changed the theme to WordPress’s default “Twenty Twenty One” and
still the same issue.`I don’t know if this is a bug fix required or additional tweaking for the various browsers out there.
For me looks to be a Firefox for desktop (PC, don’t have a Mac to test) issue.
The browsers: MS Edge & Android 9 – Firefox mobile … have no issues.After tinkering with CSS code, I found this fix: (using Firefox inspector) FYI
==================================================
/* QTY value box arrow fix in Single Product Page */
.woocommerce #page-wrapper .product .cart .qty {
padding-right: 2px;
padding-left: 8px;
}/* QTY value box arrow fix in WooCommerce Basket Page */
.woocommerce .shop_table .quantity .qty {
padding-right: 2px;
padding-left: 8px;
}
===================================================The original figures were 12px, 12px … don’t know where this comes from, still learning css.
This allows a 3 & 4 respectively digit numbers to be seen, though I prefer only 2 digit display windows, working on that.The issue is the ‘padding-right’ figure, it has to be a low number before it works correctly with the arrows & mouse cursor. Personally I don’t know why.
Naturally this is having some effect on the visual look using Microsoft Edge & Android 9 – Firefox mobile.
* In MS Edge: The product page can only visibly show one digit now.This change below, corrects both pages, without needing the code change above:
.woocommerce .quantity .qty {
padding-right: 2px;
padding-left: 8px;
}I hope there is a fix which all browsers are happy with.
I used this URL to test your Storefront theme and same issues
https://themes.woocommerce.com/storefront/product/lowepro-slingshot-edge-250-aw/Thanks.
- The topic ‘The arrows in the QTY box of the Product Page & Basket Page of WooCommerce.’ is closed to new replies.