1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Avatar Border based on Rank

Discussion in 'Styling and Customization Questions' started by TaylorTDHouse, Jan 6, 2014.

  1. TaylorTDHouse

    TaylorTDHouse Member

    Hey All,
    Currently my userMessageInfo is like this:

    I would like to have it so that any staff (possibly just have it as the users that are set to 'Display as Staff') have a border around their avatar.
    Like this:

    I was thinking that this probably would have to do with the helpers for usergroups, but I have no idea how to implement it myself. Any help would be greatly appreciated!
  2. Jeremy

    Jeremy Well-Known Member

    If you want it for staff (and same color), you can use the following CSS selector:
    .staff .avatar img
  3. TaylorTDHouse

    TaylorTDHouse Member

    Thanks! That worked perfectly with the border property.

Share This Page