XenForo 2.0 Change the color of the nickname to a specific user XenForo 2

ArmaanPC

New member
Registered
Joined
May 5, 2020
Messages
1
Points
3

Reputation:

2597d4fc5946b99b13fb23d75ddce8a9.gif

Compatible XF 2.x versions
2.0
this allows each user to get a personal color

To change the color of the nickname to a specific user throughout the forum.

It's enough to add this code to extra.less:


.username[data-user-id="29697"] {
[class^="username"] {
color: #000000;
font-weight: bold;
text-shadow: 0 0 5px #ff0033, 0 0 5px #ff0033;
background: url(https://i.goopics.net/2daZ9.gif) repeat scroll 0% 0% transparent;

}
}
.username[data-user-id="1"] {
[class^="username"] {
color: #000000;
font-weight: bold;
text-shadow: 0 0 5px #b74400, 0 0 5px #b74400;
background: url(https://i.goopics.net/2daZ9.gif) repeat scroll 0% 0% transparent;

}
}
.username[data-user-id="35"] {
[class^="username"] {
color: #000000;
font-weight: bold;
text-shadow: 0 0 5px yellow, 0 0 5px yellow;
background: url() repeat scroll 0% 0% transparent;

}
}
 

m0nst3rx

Member
Registered
Joined
Oct 16, 2021
Messages
14
Points
13

Reputation:

thank you! is there a way to add specific user banners for users like this?
 
Top