- Jul 18, 2020
- 10,119
- 12,765
- 521
Offline
Compatible XF Versions 2.x 2.0
How to add a custom Group Badge / Banner to User Info:
Option #1 - Using "User banner text"
Go to: AdminCP > Appearance > Templates > and search for the "extra.less" file
Open the file and add this code (Call it anything you want. In the example here, I called it ".mybadge" ):
Code:
Then go to "Groups and Permissions > User Groups" and select the group you want to add a badge too.
Under "User banner styling," check "Other, using custom CSS class name" and enter the name you gave it in the extra.less file
IMPORTANT: Be sure to remove the "." (dot) in front of the name as shown below:
Option #2 - Remove "User banner text" and use "User title override"
Go to: AdminCP > Appearance > Templates > and search for the "extra.less" file
Open the file and add this code (Call it anything you want. In the example here, I called it ".tac" ):
Code:
How to add a custom Group Badge / Banner to User Info:
Option #1 - Using "User banner text"
Go to: AdminCP > Appearance > Templates > and search for the "extra.less" file
Open the file and add this code (Call it anything you want. In the example here, I called it ".mybadge" ):
Code:
Then go to "Groups and Permissions > User Groups" and select the group you want to add a badge too.
Under "User banner styling," check "Other, using custom CSS class name" and enter the name you gave it in the extra.less file
IMPORTANT: Be sure to remove the "." (dot) in front of the name as shown below:
Option #2 - Remove "User banner text" and use "User title override"
Go to: AdminCP > Appearance > Templates > and search for the "extra.less" file
Open the file and add this code (Call it anything you want. In the example here, I called it ".tac" ):
Code: