deactive Links in Texts Mouseover via css
-
Hi!
I have a custom dark mode theme switcher on my website. For that I would like to bypass "Links in Texts Mouseover" via css. I can't seem to find the correct selector using Chrome's inspect function.
Can anyone help me?
(a:hover does not work for me) -
have you tried "!important"?
a:hover{ color: black!important; } -
Hi, yes doesn't work unfortunately
-
I have a work-around at the moment using a button design for the links, but with only 3 possible button designs to occupy it would be nice to just overwrite the a:hover function.
-
ah sorry for the late reply!
.no-touchdevice .lay-textformat-parent a:not(.laybutton):hover, .no-touchdevice .lay-textformat-parent a:not(.laybutton):hover span, .no-touchdevice .lay-link-parent a:not(.laybutton):hover, .no-touchdevice .lay-link-parent a:not(.laybutton):hover span, .lay-textformat-parent a:not(.laybutton).hover, .lay-textformat-parent a:not(.laybutton).hover span, .no-touchdevice a.projectlink .lay-textformat-parent>*:not(.laybutton):hover, a.projectlink .lay-textformat-parent>*:not(.laybutton).hover, .no-touchdevice .lay-carousel-sink .single-caption-inner a:not(.laybutton):hover, .no-touchdevice .lay-marquee p a:not(.laybutton):hover, .no-touchdevice .link-in-text:hover, .link-in-text.hover{ color: green!important; }:D
-
.no-touchdevice is a body class
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login