Could I set colours of member-tagline?
-
Hi,
Is there any possibility to set colours of tagline in default members grid?
Let me explain:
I have users with values like Company: “Company A” and Company: “Company B”. I would like to have coloured these companies.I guess it should be something like switch:case statement, e.g.
switch ($Company) {
case “Company A”:
echo ‘<styles>.um-member-tagline { color: blue; }</styles>’;
break;
case “Company B”:
echo ‘<styles>.um-member-tagline { color: red;” }</styles>’;
break;
default: echo ‘<styles>.um-member-tagline { color: black;}</styles>’
}
Yes I know, that is not perfect code, but I hope it will help you to understand what I excatly mean.Thank you in advance
- The topic ‘Could I set colours of member-tagline?’ is closed to new replies.