PDA

View Full Version : Remove moderator styles on forum index


Danny M
03-20-2012, 02:48 AM
Hey,

I am wondering how can I remove the styles related to my Moderator usergroup from my forum homepage?

I currently have my moderators listed under the forums on my index page, and the styles for this usergroup are bold and the color blue.

But I want to have the moderators names the color black and remove the bold weight.

I looked in the FORUMHOME template and added this code:

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

But it still displays the bold and color blue on my forums homepage. I checked the source and it is because there are "spans" around the username, such as:

<a style="font-weight: none;color: #000000;" href="http://www.lilwaynehq.com/testvb/members/dino-8617.html" class="username"><span style="font-weight: bold;color: #1E90FF;">Dino</span></a>

So my question is how can I remove these span's?

Thanks :)

Attitude5ire
03-20-2012, 06:26 AM
Im guessing these are added through usergroup permissions, you can edit from there..
You just want an exception on forumhome page that these should be regular and everywhere else bold??

Danny M
03-20-2012, 01:26 PM
Im guessing these are added through usergroup permissions, you can edit from there..
You just want an exception on forumhome page that these should be regular and everywhere else bold??

Yes exactly.

I can't figure out how to make this happen though :(

Does anyone have any ideas?