PDA

View Full Version : Remove Moderator Style on Index page


Danny M
05-22-2010, 02:59 PM
Hey,

I have changed the style of my 'Moderators' on my forum to show their usernames bold and a different color.

I want that style to be used for the moderators usernames on all the pages, but except for the index page.

I want their style to be like a normal user which is a red color and no boldness.

So I am trying to find the best way to do this, and I have tried changing:

<li><a class="username" href="{vb:link member, {vb:raw moderator}}">{vb:raw moderator.musername}</a></li>

to

<li><a class="username" href="{vb:link member, {vb:raw moderator}}" style="color: #cc0000;font-weight: none;">{vb:raw moderator.musername}</a></li>

and to:

<li><a class="username" href="{vb:link member, {vb:raw moderator.musername}}" style="color: #cc0000;font-weight: none;">{vb:raw moderator.musername}</a></li>

but no luck :(



Does anyone have any ideas for me to accomplish this... maybe to change the variable to just get the Moderators Username only?

Hope you understand, thanks :)

Anseur
05-22-2010, 04:15 PM
use username instead of musername (the m is short for 'markup' i.e the decoration you have added to that groups user names) :)

Danny M
05-22-2010, 04:22 PM
Perfect! Thanks Anseur :)