MyBB Community Forums

Full Version: Suffix on names.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, I want to make the rank grey. It is a suffix that I have for my names on different ranks. Is there any way to have the name purple and for example the "[Mod]" grey or any other color and also use the [Mod} without the background URL.

My Website: www.prankcalling.org/

Example: [Image: 30fedda7fea5465217007ed0e50b0e71.gif] but I want it like [Image: 0f713e955ab4ad6b23d3f562a4a76d79.gif]

Quote:<span style="color: #842DCE; text-shadow: 1px 1px 5px #842DCE; background: transparent url(http://i.imgur.com/7F70N.gif);">[Mod] {username}</span>

Thanks.
Move [Mod] into its own span? It doesn't necessarily have to be within the same one (as far as I'm aware)
(2015-09-15, 12:08 AM)Josh H. Wrote: [ -> ]Move [Mod] into its own span? It doesn't necessarily have to be within the same one (as far as I'm aware)

Exactly but how do you do it?
(2015-09-15, 06:12 AM)xPubHD Wrote: [ -> ]Exactly but how do you do it?

something like this...

<span style="color: #929292;">[Mod]</span>
<span style="color: #842DCE; text-shadow: 1px 1px 5px #842DCE; background: transparent url(http://i.imgur.com/7F70N.gif);">{username}</span>
^And if the above is too long for the input (limit is 200 chars), use classes:
<span class="modclass">[Mod]</span><span class="anothermodclass">{username}</span>

Then add this to your themes' global.css and to the admin/styles/[any_style]/main.css files:
.modclass {
    color: #929292;
}

.anothermodclass {
    color: #842DCE;
    text-shadow: 1px 1px 5px #842DCE;
    background: transparent url(http://i.imgur.com/7F70N.gif);
}
Thanks guys! @mmadhankumar suggestion helped me! But the other one was helpful aswell. Thanks Smile