Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Errorhead Posted April 22, 2020 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!
bfarber Posted April 22, 2020 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.
Recommended Posts