MyBB Community Forums

Full Version: Username Styling
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I make my groups username color black with a red blurred trim?
goto Admin Panel - User& Group - Click Group, you want to change - And modify Username Style.

Example: Banned Group
<u><font color="red">{username}</font></u>

giving the red color with underline username for banned group. Play with other html/CSS style
Well I meant th font was black and had a red outline...
<span style="color: #f9fc24; text-shadow: 0px 0px 5px red;"><strong><img src="/forum/images/stars/adminicon.png">{username}</strong></span>

Edit it according to your needs.
that's cool. what would be the proper way to add an Italic command to that code too?
<span style="color: #f9fc24; text-shadow: 0px 0px 5px red;"><strong><em><img src="/forum/images/stars/adminicon.png">{username}></em></strong></span>
Might I suggest you create CSS classes for each of your groups (eg. group-banned) so that each theme could apply appropriate styles?

<span class="group-banned">{username}</span>

Then in your theme's global style sheet:
.group-banned {
color: #f9fc24;
text-shadow: 0 0 5px red;
font-weight: bold;
font-decoration: italics;
}

Remember that strong and em carry semantic meaning and may not always be displayed the same on all browsers.