Hello everyone,
So recently I tried to add backgrounds for groups, and it worked but only partly.... When ever I try to add backgrounds for more than one group, the image of the latest group is set for all of them, which is problematic since I want different images for all the groups. I've tried to experiment with it, and asked others for advice but have still not found the solution. See the code I'm using below.
Themes -> Edit HTML/CSS -> Templates -> Forums -> Front -> Topics -> postContainer
<aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium' style='{{if $comment->author()->member_group_id == 4}}
background-position-x: 0px;
width: 185px;
background: url(http://i68.tinypic.com/kdoa9v.png);
{{endif}}'>
{{if $comment->author()->member_group_id == 8}
background-position-x: 0px;
width: 185px;
background: url(http://i67.tinypic.com/2w2q9ux.png);
{{endif}}'>
If you dont understand what I mean by "Backgrounds", see the image below.