Guest Posted September 29, 2009 Posted September 29, 2009 dear all, i need to change the mouse cursor in my website. I need to change the default pointer with an image that i will upload. the problem is that i don't know what file should i change--stylesheet perhaps ?- and where to upload the .cur file? Shall i upload it in the images folder or in the icons folder? Best regards, Chris
♥ecartz Posted September 30, 2009 Posted September 30, 2009 You could change it in the stylesheet. You can Google "cursor url css" for more info on that. Note that the results say things like "People don't like it when you muck with their cursor, so be careful in using this property." You can upload the .cur file to either images or icons -- just make sure that you use the same location in the CSS definition in stylesheet.css. E.g. BODY { background: #ffffff; color: #000000; margin: 0px; cursor: url("images/custom.cur"), pointer; } Use a relative URL so that it will work with SSL (even if you do not currently use SSL, you may add it in the future and you don't want to debug why it isn't working; it's easier to use the compatible URL from the start). Always back up before making changes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.