Errorhead Posted April 22, 2020 Share Posted April 22, 2020 (edited) I would like to add background by group color on the avatar, is it possible at all? {{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 April 22, 2020 by 3Web! Link to comment Share on other sites More sharing options...
bfarber Posted April 22, 2020 Share Posted April 22, 2020 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. Link to comment Share on other sites More sharing options...
Errorhead Posted April 22, 2020 Author Share Posted April 22, 2020 Working. close. Link to comment Share on other sites More sharing options...
Recommended Posts