Liquid, JavaScript, themes, sales channels
Hello all, today I noticed on mobile when a variant is selected it gets highlighted in blue.
This in my opinion looks really bad sense my theme already highlights what you have selected normally.
I've tried to add this code at the bottom of my theme liquid file but it doesn't seem to work. Please help if you can thank you.
/* Remove outline for non-keyboard :focus */ *:focus:not(.focus-visible) { outline: none; }
Solved! Go to the solution
This is an accepted solution.
THANK YOU SO MUCH
The code you sent didn't work but I was able to put
/* Remove outline for non-keyboard :focus */ *:focus:not(.focus-visible) { outline: none; }
In the bottom of style.scss and it was completely fixed.
Hello @Alexander3000, share store link
it only happens on mobile (Im on iPhone, Safari)
I'm not able to duplicate but you might want to try adding one or both of the following lines to style.scss
.tooltip:focus { outline: none !important; }
or
.tooltip:hover { outline: none !important; }
This is an accepted solution.
THANK YOU SO MUCH
The code you sent didn't work but I was able to put
/* Remove outline for non-keyboard :focus */ *:focus:not(.focus-visible) { outline: none; }
In the bottom of style.scss and it was completely fixed.
I like it! I don't think i have ever use a wildcard to target css before but if it works great!
Hey alex can u help me out with this how to exactly remove the blue line
User | RANK |
---|---|
25 | |
25 | |
8 | |
7 | |
6 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023