« Back to the HTML Forum

how do i change my cursor?

i cant use any art programs or cursor programs but i tried w sized down images and catbox links

the thing is this code works

<style>* {cursor: url("https://img1.wsimg.com/isteam/ip/1f86adb9-9dd9-47cc-904f-e254bcad12df/graphiconly.png/:/rs=w:60,h:40,cg:true,m/cr=w:60,h:40"), url("https://img1.wsimg.com/isteam/ip/1f86adb9-9dd9-47cc-904f-e254bcad12df/graphiconly.png/:/rs=w:60,h:40,cg:true,m/cr=w:60,h:40"), auto !important;}}/style}

and this code doesnt

<style>* {cursor: url(https://files.catbox.moe/ab9imy.png"), url("https://files.catbox.moe/ab9imy.png"), auto !important;}</style> 

does anyone know whats wrong? if so please lmk ^^


Report Topic

6 Replies

Sort Replies:

Reply by Lt. Commander Data

posted

My guess? Because the bottom cursor you're trying to use is missing this addendum in the code:


<style>

:/rs=w:60,h:40,cg:true,m/cr=w:60,h:40"),

</style>

Try attaching that to the bottom one and see if that helps.


Permalink Report Reply

Reply by Bonnie ᕙ(`▿´)ᕗ

posted
updated

ill try that!!

it unfortunately didnt work :[


Permalink Report Reply

Reply by Lt. Commander Data

posted

Ok well since that wasn't successful, this one should be. Time for plan B

Try this one:




@media (hover: hover) and (pointer: fine) {
body {
cursor: url("https://files.catbox.moe/ab9imy.png") 0 0, auto !important;
}
}


Permalink Report Reply

Reply by Bonnie ᕙ(`▿´)ᕗ

posted

so weird! still doesnt work...

i even tried combining it both: 

<style>

@media (hover: hover) and (pointer: fine) {

body {

cursor: url("https://www.123-stickers.com/1365-thickbox/autocollant-rond.jpg:/rs=w:60,h:40,cg:true,m/cr=w:60,h:40"), 0 0, auto !important;

}

}

</style>


Permalink Report Reply

Reply by Lt. Commander Data

posted

Ok so I think I've figured out what the root problem we were having. It wasn't the code itself giving us issue, it was the image file in particular. 

I've replaced it with a properly directed to image that should work, and it fits your style. :)




@media (hover: hover) and (pointer: fine) {
body {
cursor: url("https://i.ibb.co/whJ62Nqf/1000101864.png") 0 0, auto !important;
}
}


Third times the charm hopefully. 🤞


Permalink Report Reply

Reply by Bonnie ᕙ(`▿´)ᕗ

posted

it still doesnt work?? thats so odd... maybe i just wont do a custom cursor after all :-(


Permalink Report Reply