Hello I seam to be having a problem with my html and css code, basically what i want to do is to change my cursor to a custom one so linking to an image.
All the resources i found online say that it should be done like this
body{ cursor: url(path/to/cursor.png) }
and so i did i changed path/to/cursor.png
to img/custom-cursor.png
but it looks like it doesn’t want to change.
I checked online and there seems like there is no other way, i checked my code and I’m not changing the cursor anywhere else so there shouldn’t be any problems with that. I tried also linking to an external image through a link but also that doesn’t help.
2
Answers
Try renaming it as follows
Also try resizing the png file so that it can be actually displayed.
If that still does not work we provide an auto keyword as it can be browser’s problem because not all the browsers support png as cursor