Jump to content

Recommended Posts

Posted (edited)

I would like to add background by group color on the avatar, is it possible at all?

 

image.png.58af1858179fbe40902041a28e5c2e9b.png

{{if $member->member_group_id == 4}}
 .ipsUserPhoto_xlarge img, img.ipsUserPhoto_xlarge, .ipsUserPhoto_xlarge:after {
  box-shadow: 0px 10px 50px 0px red;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    line-height: 80px;
  }
{{endif}}

Is not possible soo how could i do that?

Edited by 3Web!
Posted

You would probably need to edit theme templates and use the HTML logic you have to add an extra CSS class to the profile photo, and then in your CSS files target that CSS class for the change you want.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...