All things Shopify and commerce
Hi
Tapping on buttons and links on mobile causes quick blue flash .
Can you please help fix this issue
https://behakdasha.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
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:
1. From your Shopify admin, navigate to Online Store > Themes.
2. Find your current theme (Taste) and click Actions > Edit code.
3. In the Assets folder, locate and open your main CSS file. This is typically named base.css, theme.css, or style.css.
4. 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.
5. Click Save to apply the changes.
Please let me know if it works as expected!
Best regards!
Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants
If our suggestion works for you, please give it a Like or mark it as a Solution!
Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com
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 😊
This is an accepted solution.
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:
1. From your Shopify admin, navigate to Online Store > Themes.
2. Find your current theme (Taste) and click Actions > Edit code.
3. In the Assets folder, locate and open your main CSS file. This is typically named base.css, theme.css, or style.css.
4. 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.
5. Click Save to apply the changes.
Please let me know if it works as expected!
Best regards!
Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants
If our suggestion works for you, please give it a Like or mark it as a Solution!
Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025