Add image before username


Well-known member
Is it possible to add a small icon to the left of the username, for certain user groups? And if so, what would the code look like? I'm trying to edit Members -> User Groups -> Username CSS


Well-known member
You could use username CSS, but that would make the image only appear in areas where the rich username is used. If you want it permanently, you should probably overwrite the username helper and prepend an image.

Lukas W.

Formerly katsulynx
It's a problem at your end, the code works totally fine and is unrelatd to your XenForo version. Go to Users->User Groups->List User Groups, select your desired User Group and add

background: url("yourimage") no-repeat scroll left center transparent;
padding-left: 17px;
as a start to the "User Name CSS"-Block. Make of course sure, you are replacing yourimage with a valid image url.