xF2 Template Modification Changing the mouse cursor on your board

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

I got the question via PM:
https://community.mybb.com/thread-165106.html

we used to do it in MYBB but how to do it in xf

where to paste that code?
but want to answer that to everyone:

Go to extra.less and enter the following:
Less:
body {
    cursor: url('data/Cursor/cur116.cur'),progress;
}

a:hover {
    cursor: url('data/Cursor/cur117.cur'),default;
}

I downloaded the two cursor files from https://www.cursors-4u.com/ and placed them into a subfolder of the data folder

Now it looks like that:

Blok.png

and hover over link like that
Blok.png
 
Last edited:

UNKNOWN PH

RUSH ARMY
Registered
Joined
Jun 9, 2019
Messages
607
Points
73

Reputation:

the file is .ini not .cur

how the code read .ini files?
 

UNKNOWN PH

RUSH ARMY
Registered
Joined
Jun 9, 2019
Messages
607
Points
73

Reputation:

1.PNG


2.PNG



the file format is .ani so i change it to .ani if i use .cur file format not working also
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

UNKNOWN PH

RUSH ARMY
Registered
Joined
Jun 9, 2019
Messages
607
Points
73

Reputation:

this change cursor is not working I use latest xenforo only loading appears in the cursor
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

to confirmed it WORK.

2022-11-06_18-33-10.png

2022-11-06_18-33-37.png
 

UNKNOWN PH

RUSH ARMY
Registered
Joined
Jun 9, 2019
Messages
607
Points
73

Reputation:

View previous replies…

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Top