Hi
Tapping on buttons and links on mobile causes quick blue flash .
Can you please help fix this issue
A Shopify store owner using the Taste theme is experiencing an unwanted blue flash when users tap buttons and links on mobile devices.
Proposed Solution:
Two respondents provided the same CSS fix to disable the tap highlight color:
-webkit-tap-highlight-color: transparent; to the theme’s stylesheet* selectorImplementation Steps:
theme.css or theme.scss.liquid)The issue appears solvable through this straightforward CSS modification, though the original poster has not yet confirmed whether the solution worked.
Hi
Tapping on buttons and links on mobile causes quick blue flash .
Can you please help fix this issue
Hello @Admatar
Disable Tap Highlight Color
Add the following CSS to your theme’s stylesheet:
* {
-webkit-tap-highlight-color: transparent;
}
This rule sets the tap highlight color to transparent for all elements, effectively removing the blue flash on tap
How to Implement in Shopify
1.From your Shopify admin, go to Online Store > Themes.
2.Find the Taste theme and click Actions > Edit code.
3.In the Assets folder, locate and open your main CSS file. This is usually named theme.css or theme.scss.liquid.
4.Scroll to the bottom of the file and paste the CSS code provided above.
5.Click Save to apply the changes.
After saving, the blue flash should no longer appear when tapping elements on mobile devices.
Thank you ![]()
Hi @Admatar
I am from Mageplaza - Shopify solution expert.
To eliminate or modify this blue flash, you can add specific CSS rules to your theme. Here’s how:
From your Shopify admin, navigate to Online Store > Themes.
Find your current theme (Taste) and click Actions > Edit code.
In the Assets folder, locate and open your main CSS file. This is typically named base.css, theme.css, or style.css.
Scroll to the bottom of the file and add the following CSS code:
* {
-webkit-tap-highlight-color: transparent;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
This code sets the tap highlight color to transparent, effectively removing the blue flash on tap.
Please let me know if it works as expected!
Best regards!