Username color change just for one style?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cerberuz
    Senior Member
    • May 2009
    • 147
    • 3.8.x

    [Forum] Username color change just for one style?

    Is it possible to change the color of a username in a style? I have a white theme and a dark theme, in the dark theme regular members usernames are black, in the white theme they are hard to see as they are also black, Is it poss to just change the regular group's username colour to white in the dark theme only??
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Use a class in the usergroup html markup instead of a specific color value. Then add that color value to the class name in each styles additional.css.

    Comment

    • cerberuz
      Senior Member
      • May 2009
      • 147
      • 3.8.x

      #3
      Hi Zachery, is there an example of how to do this?

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        In the usergroup html markup box one put

        < span class="usergroupname">
        In the second box
        < /span>

        Then add a css class to your additional.css named usergroup name

        Code:
        .usergroupname {
        color: XXXYYY;
        }
        Then add it to the other style


        Code:
        .usergroupname {
        color: AAABBB;
        }

        Comment

        Related Topics

        Collapse

        Working...