how to make it diffent color?
2 posters
admin post boady?
njaguar- Forumember
- Posts : 113
Reputation : 1
Language : English
Location : United Kingdom
- Post n°1
admin post boady?
xiaomah01- Forumember
- Posts : 206
Reputation : 7
Language : English|Chinese|malay
Location : malaysia
- Post n°2
Re: admin post boady?
Rideem3 wrote:Hi, go to Admin Panel -> Modules -> JavaScript Codes Management -> Make sure it's on -> Create new -> Title it whatever you want -> Select in the topics -> Paste:
- Code:
$(function() {
var x = $('tr.post:contains("RANKORUSERNAMEHERE")');
if (x) {
$('tr.post:contains("RANKORUSERNAMEHERE") td').css('background-color','#000');
}
});
Replace "RANKORUSERNAMEHERE" with the special rank title of the user (for group post color) or the username (for individual colors). The rank title is the user's rank you gave. So I would think that on your forum the admin rank title would be Administrator unless that's changed.
Also replace #000 with whatever color you want the background to be
Make sure the rank title or username is the exact spelling or it won't work
Nick