Carousel addon - mouse cursor custom
-
Hello!
I'd like to apply a mix-blend-mode: difference effect to the custom DOM cursor on my carousel, so that it visually inverts against the images underneath — similar to how my navigation menu already behaves when it overlaps images.
I've applied mix-blend-mode: difference to my nav elements and it works perfectly. But I can't seem to target the carousel cursor element in CSS, as it doesn't appear to have a stable/accessible class.
Is there a recommended way to achieve this effect on the carousel DOM cursor?
Here is a link to my website for reference: https://www.clara-andrea.com/tipik/
Thank you!
-
hey!
#lay-dom-cursor{
mix-blend-mode: difference;
}however, this doesnt do that only for carousels but for all DOM cursors.
also, you'd need to use white cursor images for it to work.
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
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