I’m looking to remove the quantity button highlighted box when you press on it on mobile
(it shows up for a split second)
password samurai
Dawn Version 15.3.0
A user wants to remove the highlighted box that briefly appears around quantity buttons when tapped on mobile devices. The issue occurs on a Dawn theme (version 15.3.0) Shopify store.
Visual Issue:
Proposed Solution:
.quantity__button and .quantity__input elementsbox-shadow and background-color properties when elements are not in focus-visible or focused statesStatus: A solution has been provided but not yet confirmed as resolved by the original poster.
I’m looking to remove the quantity button highlighted box when you press on it on mobile
(it shows up for a split second)
password samurai
Dawn Version 15.3.0
@undercoverfresh Hello
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css, theme.css, styles.css, custom.css or theme.scss.liquid
Step 3: Insert the below code at the bottom of the file → Save
.quantity__button:not(:focus-visible):not(.focused), .quantity__input:not(:focus-visible):not(.focused) {
box-shadow: unset;
background-color: unset;
}
If I managed to help you then, don’t forget to Like it and Mark it as a Solution!
Best Regards,
Dws_pvt_ltd