wesker's profile picture

Published by

published
updated

Category: Web, HTML, Tech

CUSTOM CURSORS - A GUIDE YOU CAN TRUST !

ive been messing around with cursors for a while and struggled insanely, so i'm here to explain how to get your cursor working !

the following explains adding your own cursor, where to get cursors, cursor code, animated cursors & common errors.
 the tutorial points are started with "-", if you're here new rather than to fix your cursor!
  • your cursor input uses a url starting with "http://"
spacehey only works with urls that use https! a popular site many are using is rw-designer; this isn't compatible with spacehey.
- some really good working alternatives include https://www.cursors-4u.com & https://www.totallyfreecursors.com. on cursors-4u use option 1 when copying & put it at the top of your profile code
  • you want to use an animated cursor
internet explorer supports animated cursors, as it chooses to, but chrome, firefox etc. do not support these and will instead only display the first frame as a workaround. 
- HOWEVER there is a way using keyframes! [click here] (credit to sodimel ^_^)
  • you missed the style tags out
make sure to put <style> ... </style> around your code! 7 times out of 10 it'll fix your problem
  • you want to add your own cursor
if you haven't made your own already, hop on a pixel art program & get creating! make sure your cursor is saved in .png or .cur format! the resolution can't exceed 128x128. 
you can use https://convertio.co/ to convert a file to .cur !
upload it as a publicly accessible file on your preferred cloud/cdn (dropbox, onedrive, etc) and use that link in the cursor tag !

<style>

cursor: url(REPLACE ME WITH A HTTPS:// URL!), auto;

</style>

i believe discord file links will also work,,

alt example code - nyan cat:

<style type="text/css">* {cursor: url(https://cur.cursors-4u.net/nature/nat-10/nat924.cur), auto !important;}</style><a href="https://www.cursors-4u.com/cursor/2011/10/28/nyan-cat.html" target="_blank" title="Nyan Cat"><img src="https://cur.cursors-4u.net/cursor.png" border="0" alt="Nyan Cat" style="position:absolute; top: 0px; right: 0px;" /></a>

source: cursors-4u.com
  • i give up! just give me a cursor!
well :^) if it's still not working, i think you may enjoy this:

<style>
body{
cursor: crosshair;
}
</style>

comment if there's anything i should add, something here doesn't work or you just need more help!
& perhaps leave kudos if this helped a little :]


201 Kudos

Comments

Displaying 20 of 32 comments ( View all | Add Comment )

★Anaa Carolina!!

★Anaa Carolina!!'s profile picture

THANK YOUU <3


Report Comment

39_melodreams

39_melodreams's profile picture

thank youuuuuu :P


Report Comment

jantoday

jantoday's profile picture

THANX!!


Report Comment

♯ 🍋⸝⸝ @xx.royzz ─ ✿

♯ 🍋⸝⸝  @xx.royzz  ─  ✿'s profile picture

THANK YEUU >.< u saved mah profile xdd


Report Comment

corentin

corentin's profile picture

Thank you for this tutorial, and thank you for quoting me, I hope you liked the custom cursors on my profile :D


Report Comment

Winniethedoggie

Winniethedoggie's profile picture

thank you!


Report Comment

Maximyst

Maximyst's profile picture

Tysm this really helped!!! (/◕ヮ◕)/


Report Comment

soph!(wip)

soph!(wip)'s profile picture

does anyone know how to make the cursor change while hovering over something?


Report Comment



in standard html it'd be something upon these lines:

.cursor:hover {
cursor: pointer;
(or whatever you want to change it too !!!)

}

by jess; ; Report

Grechka

Grechka's profile picture

TYSM!!!


Report Comment

myaa ✶⋆.˚

myaa ✶⋆.˚'s profile picture

omg tysm you save my life!


Report Comment

charlii

charlii's profile picture

heyy! for anyone using cursors4u.com, you DO NOT have to use the code in the blog post!

all you need to do is select the cursor you want, scroll down and then you'll see the "Universal CSS/HTML code" you can copy and paste that code into your bio! it worked for me :)

have a great day <3


Report Comment



that worked! love you for that

by Karim; ; Report

yw!

by charlii; ; Report

it worked!

by KazuhiraMarius; ; Report

𝑏𝑟𝑖𝑎𝑛𝑎

𝑏𝑟𝑖𝑎𝑛𝑎's profile picture

one thing to note here is i tried to use the codes from cursors4u but when you paste it in your "about me" it doesn't work.

instead of placing it there, try it under "who i'd like to meet" then it will work! just figured that out now for myself so try that guys! :3


Report Comment



it work! thank you so so muchhhh!

by myaa ✶⋆.˚; ; Report

Thanks I was trying to figure out why it wasn't working in the about me section, Kudos friend.

by Yvon Castillo; ; Report

xxbellabloodmoonxx

xxbellabloodmoonxx's profile picture

heyyy every1!! if it doesn't work for u then try dis! x3

<style>
body {
cursor: url("https://cdn.imgchest.com/files/g4z9cpwexb7.png"), auto;
}
</style>

it should work with a .png and if ur lookin for a site to upload it to then imgchest.com works gr8!!!


Report Comment



thanks!!

by dave; ; Report

jaz

jaz's profile picture

It's still not working, I've got everything right I think ??


cursor: url(https://www.dropbox.com/scl/fi/4pgo5g255nyebalu7m9xe/mantis.cur?rlkey=kos54yam6negtyx3mxppfxft4&st=9bpdvr74&dl=0), auto;


It's supposed to be a little mantis reaching up towards wherever you're pointing;-;


Report Comment



cursor: url(https://i.postimg.cc/XJWbL2tf/mantis.png), auto;


Tried it as a png and it's still not working ;--;

by jaz; ; Report

Yes I included the style but it's not showing up in my comments

by jaz; ; Report

Unknown

Unknown's profile picture

my custom cursor is way lower than where i have it pointed :(


Report Comment

ren

ren's profile picture

bro is literally an angel THANK YOU SO MUCH


Report Comment

ren

ren's profile picture

bro is literally an angel THANK YOU SO MUCH


Report Comment

Ryan!

Ryan! 's profile picture

TYSM USEDDDD :3


Report Comment

Tom

Tom's profile picture

totally saved me dude, thx


Report Comment

angeLfluff⋆⋆⋆⋆

angeLfluff⋆⋆⋆⋆'s profile picture

how people make double cursor??


Report Comment



help!!

by angeLfluff⋆⋆⋆⋆; ; Report