DTL2012 Posted June 29, 2021 Posted June 29, 2021 At the moment, it's configured to just 1 colour for all user groups that have their posts highlighted. This can get a little messy and hard to distinguish in communities where multiple different groups have this enabled. SeNioR-, Percival, Myr and 4 others 1 6
Jordan Miller Posted July 16, 2021 Posted July 16, 2021 Here for it 😅 Going to jot this one down! Unienc 1
SeNioR- Posted July 16, 2021 Posted July 16, 2021 (edited) I think it can be done quite easily. Edit the postContainer template. Find "<article" on the same line add after "data-Background =" {$ comment-> author () -> member_group_id}" <article data-Background="{$comment->author()->member_group_id}" [.....] Now in custom.css add: /* Background for the group with ID 4. */ article[data-background="4"].cPost { background: #62c4aa; } /* Background for the group with ID 3. */ article[data-background="3"].cPost { background: #62a0c4; } Change the group ID to your own and customize the background. Previews: Edited July 16, 2021 by SeNioR- Adriano Faria and Unienc 2
Recommended Posts