Custom carousel grab cursor
-
Hi all,
I'm looking to use a custom cursor for the carousel that has free-drag enabled. Ie. create a custom 'grab hand'. Ideally, I'd like to have both a custom cursor-left and cursor-right for this.
http://smallprintstudio.co.uk/work/
First carousel has custom left/right but no free-drag.
I've tried to find the correct div to use in css:
.lay-carousel.free-scroll.cursor-right {
cursor: url('https://smallprintstudio.co.uk/wp-content/uploads/2019/12/Eyes-Emoji-copy.png');}.lay-carousel.free-scroll.cursor-right {
cursor: url('https://smallprintstudio.co.uk/wp-content/uploads/2019/12/Eyes-Emoji-copy-copy.png');}Obviously missing something here. Any help would be fantastic.
Cheers. -
youd need to write javascript that checks to see if you're moving your mouse on the left or right side in a carousel and then set html classes depending on that and of course those html classes have corresponding css to set the right cursor
good luck
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