Animated username in Xenforo

Sameer Memon
Sameer Memon
2 Min Read
- Advertisement -

Bored of the default usernames in xenforo? Wanna make something like this?

css username xenforo

To make this effect go to the xenforo admin panel and under “Group and permissions” select “user group”.

Select the user group you want this effect for.

Now under username CSS, copy-paste the code below

red dust effect in username
text-shadow: 0px 2px 7px #f00;
color: Red;
background: url(https://i.imgur.com/Ak4d9pH.gif);
font-weight: bold;

Click “Save”.

Now go to your forum and refresh the page to see the effects.

- Advertisement -

You will not see the Crown icon. For that, you need to add some codes in extra.less file.

Go to Appearance > Templates > find “extra.less” template and add the below code.

add icon to username in
/* Registered Group settings Font Awesome */
.username--style2:before {
font-family: "Font Awesome 5 Pro";
content: "\f521";
color: inherit;
padding-right: 4px;
display: inline-block;
}

Note: replace .username–style2 with your style class. You can find your class name by right-clicking the username field and clicking inspect.

Replace \f521 with the Unicode of your favorite icon.

Find your favorite icon here: Font Awesome 5 Pro

username class div in xenforo
finding username class

As in my case its .username–style2

Click “save” when done.

Now go to your forum and refresh the page to see the effects.

- Advertisement -

All done. Enjoy this username style.

Also read: Multicolor effect in the username

- Advertisement -
Follow:
Sameer Memon is a passionate writer with 3 years of experience in Blogging. With a strong background in Blogs, SEO, and Social Media Marketing, Sameer has been creating engaging content on various topics for a wide range of clients. As a dedicated and driven individual, Sameer takes pride in delivering well-researched and thoughtfully written articles that provide readers with valuable insights and information. He is constantly striving to stay up-to-date with the latest industry trends and techniques to produce content that is not only informative but also engaging and easy to read. When Sameer isn't busy writing, he enjoys gaming. He also loves to explore new places to gain fresh perspectives and inspiration for his writing. If you're interested in learning more about Sameer and his work, you can follow him on social media platform at give handles.