@Ange Tuteur Hello I noticed there is a color on the bottom left of staff posts can I do this on my forum?
Maybe there is a topic.
Image:
Regards
FrOstyXi
Maybe there is a topic.
Image:
Regards
FrOstyXi
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<span class="frosty"></span>
$(function() {
// find tags with the class frosty, then apply our bg class to the message body
$('.frosty').closest('.post').addClass('frosty-bg');
});
.post.frosty-bg {
background:red;
}
FA.Ready(function() {
for (var a = $('.postprofile', document.getElementById('main-content')), b, c, i = 0, j = a.length; i < j; i++) {
b = a[i].innerHTML;
if (/class="st-rang.*?"/.test(b)) {
b = b.replace(/\n/gm, '').replace(/.*class="st-rang\s(.*?)".*/, '$1');
c = a[i].parentNode.parentNode;
c.className += ' st-answer';
switch (b) {
case 'bguser':
c.className += ' bguser';
break;
}
}
}
}, 'right');
.post.st-answer {
background-image:url(place here is a picture to insert);
background-position:0 100%;
background-repeat:no-repeat;
background-size:100%
}
.post.st-answer.bguser {
background-image:url(place here is a picture to insert)
}
<strong class="st-rang bguser">put here the name of the rank</strong>