HOME | DD

Published: 2009-01-17 20:51:30 +0000 UTC; Views: 42769; Favourites: 1035; Downloads: 986
Redirect to original
Description
One of the nice advantages of CSS is the ability to have a custom cursor within your deviantART journal. The process of making a cursor is fairly quick and simple and you don’t need any CSS coding experience to get it to work.The Requirements
The main requirement for using a CSS cursor within your deviantART journal is a premium membership. Sadly this is not a free feature, so if you have a ~ symbol next to your username you won’t be able to use this code on your own account.
To make a CSS cursor you first need 2 images. The first of these is a normal cursor which is the default image you want your cursor to display when on your journal. The second of these is the link cursor designed for when your cursor hovers over or click on a link. If you don’t want the image to change then simply use one image for both sections.
The images don’t have any size requirements though it is recommended you don’t make them much bigger than 25 x 25 pixels as large cursors can be impractical. The images are saved either as a .png or .gif and must be static as any animation won’t appear.
The Process
First the images need to be hosted on a website. This could be your deviantART account (or sta.sh) or some external image hosting site such as photobucket or imageshack. You just have to remember that these files can’t be deleted whilst the cursor is in use. Once they have been uploaded you need to attain the direct links to the images. The direct links will lead to a webpage where the image is shown on a plain background. These links can be acquired by right clicking on the image and selecting 'copy image URL/Location/Address'. (dependant on web browser).
These URLs then need to be pasted into the code shown below in the relevant places.
Once you have filled in the CSS code you then need to place it within the Skin CSS section of your journal. At the time of writing this tutorial (September 2012) this can be accessed by clicking the ‘Edit skin button on the journal submission page. Within Sta.sh writer this can be found in the lower right corner, where as it is located in the top left on the regular journal submission page.
The position of the code within any other CSS doesn’t really matter provided that it isn’t in the middle of another line of code. If you are unsure then it is best to place it at the very top or very bottom. This also makes it easier to locate in future in case there are any issues or you wish to edit it.
Once you have completed the steps above simply click save on the CSS page and save your journal and start enjoying your new CSS cursor.
The Code
a:link {cursor:url(url of link cursor), pointer;}
a:hover {cursor:url(url of link cursor), pointer;}
body {cursor:url(url of normal cursor), pointer;}
Example code
Below is an example of the code corrected filled in. It is very easy to accidently delete a bracket or comma which will break the code, so please take care when inputting your links.
a:link {cursor:url(http://fc02.deviantart.com/fs48/f/2009/171/7/2/Link_cursor_by_deviant.png), pointer;}
a:hover {cursor:url(http://fc02.deviantart.com/fs48/f/2009/171/7/2/Link_cursor_by_deviant.png), pointer;}
body {cursor:url(http://fc03.deviantart.com/fs48/f/2009/171/7/2/Normal_cursor_by_deviant.png), pointer;}
Troubleshooting
If you have any issues with your cursor then it is suggested you check:
- You haven’t accidently deleted anything from the code
- There aren’t any unnecessary spaces added by mistake
- The links are direct links and not links to a regular deviation page/gallery
- The code has been successfully pasted into the CSS section
- The correct CSS has been applied to your journal (not a previous copy)
If you are still unsure of the issue and need some assistance then you can contact me via note with a copy of the code you are using and I will try my best to fix the issue. Please don’t edit or add spaces to the code before sending it to me as this prevents me easily spotting the problem. It is also important that it is sent in a note as this allows me to access the code intact rather than formatted versions displayed in dA comments.
Please also note that I don’t have any knowledge of desktop cursors or general CSS coding. Please direct any questions regarding other elements of CSS to a CSS related group and take into account these tips when asking for help
Other tutorials
You can find all of my other tutorials on this page: [link]
Related content
Comments: 409
TempestuousWorgen In reply to ??? [2009-01-18 19:56:44 +0000 UTC]
YES!! More tutorials and more reference!! Thank you!
👍: 0 ⏩: 1
Momma--G In reply to ??? [2009-01-18 04:35:02 +0000 UTC]
Ohhh Thank you so much!! I am going to try it. Wish me luck!
👍: 0 ⏩: 1
Synfull In reply to Momma--G [2009-01-18 04:58:46 +0000 UTC]
Good luck. Can't wait to see the result
👍: 0 ⏩: 1
icydevil0 In reply to ??? [2009-01-17 22:23:47 +0000 UTC]
I must put a cursor on my CSS right now.
👍: 0 ⏩: 1
Ansheen In reply to ??? [2009-01-17 21:27:28 +0000 UTC]
aww, this is so so so useful, i have always wandered how you did your cursor, thanks for submitting!
👍: 0 ⏩: 1
YukiMizuno In reply to ??? [2009-01-17 21:18:43 +0000 UTC]
Say, can the cursors be animated too?
👍: 0 ⏩: 1
Synfull In reply to YukiMizuno [2009-01-17 21:20:33 +0000 UTC]
Truth is ... i don't know I've never tried
👍: 0 ⏩: 1
YukiMizuno In reply to Synfull [2009-01-17 21:21:11 +0000 UTC]
Hmm, maybe I can test it out...
👍: 0 ⏩: 2
YukiMizuno In reply to Synfull [2009-01-17 22:24:14 +0000 UTC]
I didn't work. :<
But that's alright. At least it shows up in my journal, but it's not moving.
👍: 0 ⏩: 1
RylieOh In reply to YukiMizuno [2012-04-08 00:36:33 +0000 UTC]
omg is your icon colin? XD thats awesome
👍: 0 ⏩: 1
Ansheen In reply to YukiMizuno [2009-01-17 21:26:18 +0000 UTC]
i think they can, if you upload the second image as a .gif....
👍: 0 ⏩: 1
Gnog In reply to ??? [2009-01-17 21:03:06 +0000 UTC]
I've always wondered how it's done
Thanks for this very helpful tutorial! It is very easy to folllow
👍: 0 ⏩: 1
Davecheesefish In reply to ??? [2009-01-17 20:55:27 +0000 UTC]
If it's not animated, you could convert it to a .png and put it in Tutorials
👍: 0 ⏩: 1
Synfull In reply to Davecheesefish [2009-01-17 21:00:29 +0000 UTC]
Its not, but i wanted it to have a preview like all the others >.>
👍: 0 ⏩: 1
Davecheesefish In reply to Synfull [2009-01-17 21:01:18 +0000 UTC]
That makes sense
...and they really need to allow .gif files in the Tutorials category
👍: 0 ⏩: 1
Synfull In reply to Davecheesefish [2009-01-17 21:02:30 +0000 UTC]
Yeah they should. They should also allow you to have previews even when not needed
👍: 0 ⏩: 1
Davecheesefish In reply to Synfull [2009-01-17 21:05:52 +0000 UTC]
The preview thing is a common one in the Suggestions Forum, but there are all sorts of reasons they won't do it Most of them being abuse of the system
👍: 0 ⏩: 1
Synfull In reply to Davecheesefish [2009-01-17 21:10:35 +0000 UTC]
Yeah, i can understand why they wont. Still annoying though
👍: 0 ⏩: 0
TheRockster In reply to ??? [2009-01-17 20:54:09 +0000 UTC]
nothing for me then
i so wish i had a sub
👍: 0 ⏩: 2
TheRockster In reply to Atk19380 [2009-01-17 22:46:46 +0000 UTC]
ys, i reli reli do but i cant buy one!
👍: 0 ⏩: 1
Atk19380 In reply to TheRockster [2009-01-17 23:04:00 +0000 UTC]
awwww... I just begged and begged and begged my parents and I ended up canceling my Runescape sub and getting this one.
👍: 0 ⏩: 3
Obake-no-Kage In reply to Atk19380 [2009-04-02 02:29:08 +0000 UTC]
you cancelled ur runescape sub??? wow
👍: 0 ⏩: 1
<= Prev | | Next =>