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 |
---|---|
21 | |
21 | |
8 | |
8 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023