Home › Forums › ART WordPress Theme › :focus on mobile does not work
- This topic has 5 replies, 2 voices, and was last updated 5 years ago by
SeaTheme.
-
AuthorPosts
-
May 24, 2021 at 7:14 am #24903
Hello,
it is possible that it does not work for the phone version: focus?
Is there an alternative that would replace: focus, that is, that the effect on the phone comes only after clicking on the element?I tried: focus like this
.grid-item-mask-link:focus {
background-color: rgba(255,255,255,0.25);
}It worked on PC but does not work on mobile device.
Is here some solution for that or some alternatives ? maybe my code is wrong ?
Thank you very much
Best Regards
Richard CechMay 25, 2021 at 1:54 am #24918Hi,
The
:focusdoes NOT support the touch screen.You could add the class
.bm-hoverfor the “hover” status for the mobile like:.bm-hover .grid-item-mask-link { background-color: rgba(255,255,255,0.25); }ps: the “Tap Once to Open Item on Touch Screen” should NOT be activated, or the CSS will not work.
https://doc.seatheme.net/sea-content-builder-plugin/grid-module/
May 25, 2021 at 7:58 am #24920Hello,
I turned off “Tap Once to Open Item on Touch Screen” and used your code in custom css but it didn’t do anything.
What does it mean – add the class .bm-hover – do I need to do more than just paste this code into custom css?My web page is richardcech.com
Thank you very much
Best Regards
Richard CechMay 26, 2021 at 1:13 am #24927May 26, 2021 at 8:24 am #24933Hello,
I set it up as you recommended. I turned off “Tap Once to Open Item on Touch Screen and ”Mouseover Effect ”is set to Static color + text.
I also used your code that you sent me in this topic…….but it still doesn’t do the need for the phone version. I would like him not to do anything when scrolling down the grid projects (it did not turn any color, etc.) but after clicking on the project it turned white and started to open immediately. (whitening is only for the time from the first exact finger click on the project until the project loads)
Thank you very much
Best Regards
Richard CechMay 27, 2021 at 1:53 am #24951 -
AuthorPosts
- You must be logged in to reply to this topic.
