Change text style on marquee hover
-
Hey Support team,
thanks for the new updates - Im totally in love with the marquee function.
Now I tried to make the marquee text go transparent and outlines appear when hovering it.
The outlines work perfectly fine, but somehow I'm not able to make the text itself transparent (or black would be fine for me too).Here's the css code I'm using
.marquee:hover { color: rgba(0, 0, 0, 0) !important; text-shadow: -2px -2px 0 #ff0000, 2px -2px 0 #ff0000, -2px 2px 0 #ff0000, 2px 2px 0 #ff0000; }
I also tried to use
opacity: 0;
but of course the outlines will be transparent too – Is there anyway to fix that code?
That's the page Im talking about: https://bennyxan.de/about/
Thank you so much for your help and for the new updates!
Benny
-
Found a solution :)
If someone has the same problem:
._MarqueeSmall_no_spaces:hover{ -webkit-text-stroke: 2px #FFFFFF; color: transparent; transition: 0.25s ease-in-out; } ._MarqueeSmall_no_spaces{ color: white; -webkit-text-stroke: unset; }
this works perfectly fine for me :)
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com