How to add a Custom Group Badge / Banner to User Info

XF 2 Tip How to add a Custom Group Badge / Banner to User Info

I found several sizing and alignment issues with the last update and had to fix them.
I would recommend using this code instead.
  • Like
Reactions: peacefulor
Simplified the code and added explanations on how to position and resize the image.
Also added two options for mobile view:

Option #1 for mobile view - Remove background image but leave group name
Option #2 for mobile view - Keep background image but resize it
Top