I have been trying for ages to get a custom cursor to work in webflow, following this thread in particular
All of the custom code bits I have experimented with have worked perfectly, except for the custom cursor code, it just won’t work. I’ve even tried starting new blank sites to test it but I can’t get it to work, i’m tearing my hair out!
You’re not telling where we should look on your site
The code linked is ok, it means any element of that class hovered by the cursor will get the defined image as a cursor. But you can google for image limitations. They’re not the same for each browser. Try with a 32 x 32 PNG image. Be sure to make the image stick to the upper left corner of the artboard.
Custom cursors aren’t recommended. They look horrible most of the time and users don’t really like to have their cursor changed to something fancy. But you decide Cursor design is hard. It’s small and need to be black with a white outline to be visible at all time. I tried many times and was never satisfied with the result.
I made an example for you on that site (it’s obvious), but it’s very poor with a very large cursor that’s not optimized or refined at all.
I think I might have figured it out, just now I was applying the cursor to an empty div and it wouldn’t capture - Now I have tried to capture it over an image instead and it it works!
On my original site I was try to get it to catch over the arrow buttons (set to 50% so left and right cover half of the image) that come with a set of sliders, - It seems like it doesn’t want to catch over those (maybe because it’s empty) - is that normal? is there anything else I can do?
I too have been strenuously working to make this custom cursor appear upon hovering over my website’s footer.
One curiosity is that @vincent shows “.mic-cursor” as the class … but I’d figure you would want to specify the class of the area on the website for the custom cursor to appear as opposed to the class of the cursor itself. Ergo, I’ve tried both perceived options with: “.footer”, “.footer.custom-cursor”, “.custom-cursor” and a few other variations.
My footer is a Symbol in the website. Is that what is messing it up? I have made sure to make the icon a .png file with the longest edge 128 px. (it’s 128 x 59.13 px) and I’ve triple checked my image link.
Please let me know how I’ve bungled this! Thanks, Alex