The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> My custom cursor is not working outside of content
EleanorFox
post Jun 14 2023, 12:14 PM
Post #1





Group: Members
Posts: 6
Joined: 14-June 23
Member No.: 28,956



Hello. So I have this website https://jsfiddle.net/EleanorFoxQueen/sqLd1wxf/2/ and the cursor when moved outside of the body it will be back to the default cursor. Any idea how to fix this? Thankyou so much

Well nothing I tried works so I'll let you know if I have tried your answer or not
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
pandy
post Jun 14 2023, 01:06 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,734
Joined: 9-August 06
Member No.: 6



How do you mean? It doesn't show for body either. You've specified a custom cursor for certain elements. It will show when those elements are hovered, not for other elements. If you want it for the whole page, use cursor with body.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
EleanorFox
post Jun 14 2023, 01:17 PM
Post #3





Group: Members
Posts: 6
Joined: 14-June 23
Member No.: 28,956



QUOTE(pandy @ Jun 14 2023, 01:06 PM) *

How do you mean? It doesn't show for body either. You've specified a custom cursor for certain elements. It will show when those elements are hovered, not for other elements. If you want it for the whole page, use cursor with body.

Well the cursor is in the body tag and I set the body width to 100% but it doesn't work. Like just hover it away from the content and the default one will be back. And also how are you not seing my custom cursor? It's a public google drive link 🤔
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jun 14 2023, 04:39 PM
Post #4


.
********

Group: WDG Moderators
Posts: 9,673
Joined: 10-August 06
Member No.: 7



QUOTE(EleanorFox @ Jun 14 2023, 08:17 PM) *

QUOTE(pandy @ Jun 14 2023, 01:06 PM) *

How do you mean? It doesn't show for body either. You've specified a custom cursor for certain elements. It will show when those elements are hovered, not for other elements. If you want it for the whole page, use cursor with body.

Well the cursor is in the body tag and I set the body width to 100% but it doesn't work.

No, it's for the DIV #parent, which is only 965px wide. The CSS below is from https://eleanor-bit.neocities.org/

CODE
#parent{
width: 965px;
height: 100%;
white-space: initial;
word-break: break-word;
margin: 0 auto;
padding: 0;
cursor: url("https://drive.google.com/uc?export=download&id=1j1N4eTkIaf_AjdrdtA1UZqt4p39MfFZf"), default;
}


BTW you shouldn't use DIV elements for everything, they lack any semantic meaning.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
EleanorFox
post Jun 15 2023, 12:15 AM
Post #5





Group: Members
Posts: 6
Joined: 14-June 23
Member No.: 28,956



QUOTE(Christian J @ Jun 14 2023, 04:39 PM) *

QUOTE(EleanorFox @ Jun 14 2023, 08:17 PM) *

QUOTE(pandy @ Jun 14 2023, 01:06 PM) *

How do you mean? It doesn't show for body either. You've specified a custom cursor for certain elements. It will show when those elements are hovered, not for other elements. If you want it for the whole page, use cursor with body.

Well the cursor is in the body tag and I set the body width to 100% but it doesn't work.

No, it's for the DIV #parent, which is only 965px wide. The CSS below is from https://eleanor-bit.neocities.org/

CODE
#parent{
width: 965px;
height: 100%;
white-space: initial;
word-break: break-word;
margin: 0 auto;
padding: 0;
cursor: url("https://drive.google.com/uc?export=download&id=1j1N4eTkIaf_AjdrdtA1UZqt4p39MfFZf"), default;
}


BTW you shouldn't use DIV elements for everything, they lack any semantic meaning.

Oh okay. Thankyou so much for y'all help. I'm so dumb -_-

This post has been edited by EleanorFox: Jun 15 2023, 12:41 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jun 15 2023, 11:43 AM
Post #6


.
********

Group: WDG Moderators
Posts: 9,673
Joined: 10-August 06
Member No.: 7



QUOTE(EleanorFox @ Jun 15 2023, 07:15 AM) *

Oh okay. Thankyou so much for y'all help. I'm so dumb -_-

You're welcome. We all are. laugh.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
EleanorFox   My custom cursor is not working outside of content   Jun 14 2023, 12:14 PM
pandy   How do you mean? It doesn't show for body eith...   Jun 14 2023, 01:06 PM
EleanorFox   How do you mean? It doesn't show for body eit...   Jun 14 2023, 01:17 PM
EleanorFox   [quote name='pandy' post='146202' date='Jun 14 20...   Jun 14 2023, 01:18 PM
Christian J   [quote name='pandy' post='146202' date='Jun 14 20...   Jun 14 2023, 04:39 PM
pandy   Exactly. And it is in your CSS, not in any tag, BO...   Jun 14 2023, 04:42 PM
EleanorFox   [quote name='pandy' post='146202' date='Jun 14 2...   Jun 15 2023, 12:15 AM
Christian J   Oh okay. Thankyou so much for y'all help. I...   Jun 15 2023, 11:43 AM
coothead   Hi there EleanorFox, the body will only be visibl...   Jun 14 2023, 01:35 PM
EleanorFox   Hi there EleanorFox, [indent] the body will only ...   Jun 14 2023, 02:11 PM
Christian J   On my screen 1366x768, I was only able get the JS...   Jun 15 2023, 11:43 AM
EleanorFox   For people who can't see the problem, here...   Jun 14 2023, 02:17 PM
coothead   [quote name='EleanorFox' post='146207' date='Jun ...   Jun 14 2023, 04:56 PM
Jason Knight   Warning, I don't mean this to be mean. But I...   Jun 15 2023, 06:13 PM
pandy   Interesting. So what spec was marquee actually in?   Jun 16 2023, 04:04 PM
coothead   [quote name='pandy' post='146218' date='Jun 16 20...   Jun 16 2023, 04:36 PM
pandy   I am sure that Jason Knight will correct me if my...   Jun 17 2023, 02:33 AM
Jason Knight   Interesting. So what spec was marquee actually in...   Jun 17 2023, 06:18 PM
pandy   Interesting. So what spec was marquee actually i...   Jun 18 2023, 02:21 AM
Jason Knight   So why is EMBED so evil, so evil you compare it t...   Jun 23 2023, 01:03 AM
Christian J   Looking at this you've got way bigger problem...   Jun 16 2023, 05:41 PM
Christian J   It almost made into CSS3 though, as late as 2008 w...   Jun 17 2023, 04:28 PM
Christian J   I don't see any similarities between EMBED and...   Jun 25 2023, 08:17 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th May 2024 - 02:53 PM