Different username colors in different style.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • napy8gen
    Senior Member
    • Jul 2001
    • 525
    • 6.X

    Different username colors in different style.

    This work around is not a duplicate of this one.


    This is new one for those who have many styles.
    This method will allow you to have different username colors in each styles you have, if you have a dark style the username color may not look good in a light style.

    Lets do it for 2 usergroups to see if its working.

    Admin
    Admincp> Usergroups>Usergroup manager> Administrators>Edit Usergoup(Go)>Username HTML Markup
    Here will be 2 empty boxes. you can put in the first box
    <span class="admincolor">
    the second box closed the span tag. put in:
    </span>
    Moderators
    Admincp> Usergroups>Usergroup manager> Moderators>Edit Usergoup(Go)>Username HTML Markup
    Again there will be 2 empty boxes. you can put in the first box
    <span class="modcolor">
    the second box closed the span tag. put in:
    </span>

    Then if you have 2 styles. go to both.In this example style name A and style name B.
    style manager> style name A> edit templates> css templates> additional.css
    paste css overwrite below:

    .admincolor {color:#ff7500 !important;}
    .modcolor {color:#ff1dff !important;}

    Now different username color for style name B
    style manager> style name B> edit templates> css templates> additional.css
    .admincolor {color:#004bae !important;}
    .modcolor {color:#009b00 !important;}

    Enjoy if its working!
    Get Our vbulletin 6 themes
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...