Current date/time is April 19th 2024, 2:20 pm

Search found 1 match for B697C7

Adding A badge On The Bottom-Right Corner of The Avatar For Members of A Specific Usergroup?

Sorry for the delay. Add this script to Modules > JS codes management :

Placement : In the topics
Code:
$(function() {
  $('.user:has(a span[style="color:#B697C7"])').find('.user-basic-info > a:first-child').append('<img src="http://2img.net/i/fa/m/gender_female.gif" class="ava-rank"/>');
});


Change the following based on the group :
1. The group color : #B697C7
2. The image : https://2img.net/i/fa/m/gender_female.gif

Lastly add this CSS to your stylesheet :
Code:
.user-basic-info > a:first-child {
  position:relative;
}

.ava-rank {
  position:absolute;
  right:0;
  bottom:0;
}
by Ange Tuteur
on February 18th 2016, 11:48 am
 
Search in: Garbage
Topic: Adding A badge On The Bottom-Right Corner of The Avatar For Members of A Specific Usergroup?
Replies: 29
Views: 1793

Back to top

Jump to: