Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 22, 20204 yr 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, 20204 yr by 3Web!
April 22, 20204 yr 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.