MyBB Community Forums

Full Version: Different usergroup username style per theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
At the moment, I'm confused with how to do this. Any ideas?

Different username style per theme, as not every username color suits every theme.
Use classes..

<span class="teststyle">{username}</span>

Then add .teststyle to global.css of each theme.
(03-30-2015, 11:09 PM)Destroy666 Wrote: [ -> ]Use classes..

<span class="teststyle">{username}</span>

Then add .teststyle to global.css of each theme.

Care to elaborate? I'm not the best with css.
It's better you start to learn because is the most usefull way to do some changes.

Use firefox tools or google tools to help on your way to do this and you can see it's more easy than you think.

Only add for example on usergroups your html and set a class there like @Destroy666 says.

then add it onto your global.css that class and all the entire code you wish to that and do it for all styles and it's done, you can add more tricks than you think i share some video many years ago about this on youtube Big Grin
(03-30-2015, 11:16 PM)Wires Wrote: [ -> ]
(03-30-2015, 11:09 PM)Destroy666 Wrote: [ -> ]Use classes..


<span class="teststyle">{username}</span>

Then add .teststyle to global.css of each theme.

Care to elaborate? I'm not the best with css.

Follow this tutorial: http://mods.mybb.com/view-resource/chang...-per-theme