Custom cursor for Lightbox Addon
-
Hi!
I am playing with a custom cursor on my website. Currently I've got this to work fine for general cursor and on links. My site is also using the Lightbox Addon, and I can't figure out how to replace the Pointer-cursor on these pages.
Ideally I would like to have the cursor be the squinting-eye cursor when hovering over Lightbox-images, and while viewing them/until they are closed.
Here's what I've done to get them to work for general and links:
body { cursor: url(https://augustgaukstad.com/wp-content/uploads/2020/02/cursor-01-1.png) 16 16, auto; } a { cursor: url(https://augustgaukstad.com/wp-content/uploads/2020/02/cursor-02-1.png) 16 16, auto; }I have tried doing the same targeting various things like #lightbox-inner, #thumbnail, creating a HTML ID for each Lightbox-image and applying it there, but nothing works.
Cheers,
August -
Dear @agaukst
I just answered a very similar question in the forum.Can you have a quick look around?
Best!
Marius
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