PHP Code:
<div class="{$usergroup['title']}">{$usergroup['title']}</div>
<br />
You can then style each group in your CSS, like this:
PHP Code:
.Administrators {
display: inline-block;
height: 30px;
line-height: 30px;
padding: 0 15px;
color: red;
background: #2f2f2f;
}
Edit and add more like mod etc :D
This only works for the postbit though, so keep that in mind.
Have fun?
:D :yus: :yus: