by YoshiGM January 2nd 2016, 4:36 pm
Hi
@Mimóza,
First, Go To : ACP > Modules > Javascript codes management.
And create a new one:
- Code:
$(function() { $('st-admin').closest('div.topic-author').addClass('st-admin');
});
Place: In All Pages.
Next, Go Users & Groups > Rank Administration > Modifi your admin rank (click on :modify: ) and add this span class in the rank title:
- Code:
<span class="st-admin">Rank Title</span>
And hit Save.
Finally, add this on your CSS (ACP > Display > Colors > CSS Stylesheet)
- Code:
.topic-author, .st-admin {
background-color: #FFE346;
}
You can add background-image: url('IMAGE LINK HERE'); or any other option that you want in the special ranks.
If you want a different background for each staff member, only add in the javascript a new class:
- Code:
$('st-name').closest('div.topic-author').addClass('st-name');
I hope it helps you ^^
Have a nice day,
Yoshi ~