Jump to content

Is there a possibility?

Featured Replies

Posted

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!

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.

  • Author

Working. 

close.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.