Arno
March 16, 2016, 6:17pm
1
Hello there,
I know that I can easily change the cursor with the cursor panel, but I was wondering if there is an easy way to change it with an icon I created?
Would this code works if I put it in the header section?
<style>
body {
cursor: url(https:studionora.ca/webElts/Cursor-Test.png), pointer;
}
</style>
Thanks for your advice
sabanna
(Anna)
March 16, 2016, 9:11pm
2
Hi @Arno ,
Based on this example ( Edit fiddle - JSFiddle - Code Playground ), it should work. Just make sure that URL to cursor image is working
Regards,
Anna
Arno
March 17, 2016, 12:17am
3
Hello @sabanna .
Thanks for your help. Unfortunately, it doesn’t seem to work
Best,
sabanna
(Anna)
March 17, 2016, 12:46am
4
Try to add this code snippet to Embed code widget on the page
Arno
March 17, 2016, 2:35am
5
Thanks @sabanna .
I added the code to the header section and it works. I might have added wrong the first time.
So if I’d like to change the cursor for an action, I have to write the code for every action I’d like to modify, but would I need to do it for every class, or can I do it one time for all? ( I hope I’m clear enough
Thanks for your advice.
sabanna
(Anna)
March 17, 2016, 2:41am
6
I am glad to hear everything works now
If you want to set different cursor when you hover some objects, for example, then I think you will have to point that objects class in the code.
Arno
March 17, 2016, 2:57am
7
Ok. Thank you. I’m gonna try that.
Arno
March 18, 2016, 2:21pm
8
Does anyone have extra tips regarding cursor customization?