MyBB Community Forums

Full Version: Making Username Text to Have Stroke
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any way of making the forum usernames to have an outline (stroke) with other color?
put a border class on them.

Example:

Username Style
This option allows you to set a custom username style for users who have this user group as their display group. Use {username} to represent the user's name.
<span class="member">{username}</span

Then in your css:

.member {
border:1px solid #77D9FF;
}
Thank you for the answer. But I didn't understand one thing: where to add this:

Quote:.member {
border:1px solid #77D9FF;
}
In the global css of your theme - you can set the username styles in the ACP and then you have the class member so whereever the formatted name is used the stroke will show.

I use this trick on my forum here:

http://blackcanvas.net/Thread-a-good-example-of-therapy

You see the names have a coloured stripe.