Announcement

Collapse
No announcement yet.

username color markup help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    BirdOPrey5
    Senior Member

  • BirdOPrey5
    replied
    Yes, a common issue..

    Instead of adding color directly to the username instead make the username markup a class-

    Bad way
    <span style="color:red;">USERNAME</span>

    Good Way
    <span class="myusergroup1">USERNAME</span>


    And then in each style in the additional css boxes on All Style Options you define the color for that class.

    .usergroup1 {color:red;}

    and in another style the same class may be

    .usergroup1 {color:white;}

    Leave a comment:

  • dethfire
    Senior Member

  • dethfire
    started a topic username color markup help

    username color markup help

    I have set colors for all usergroups as most people do. The problem is that a new style I am using puts the username sometimes in a light background and sometimes in a dark. Because the markup is stored in a variable there is no way to access it in the template and in many instance the username is unreadable because it blends into the background. any tricks for handling this?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X