I need a code to make admin posts colored
5 posters
Page 1 of 1
I need a code to make admin posts colored
Any one have a code to make admin posts colored:?:Â
Â
Â
Â
Â
Â
Â
 








Re: I need a code to make admin posts colored
Hello
1. What forum version you have
2. Are you want color or image, like staff on this forum have? (That orange gradient is image)
1. What forum version you have
2. Are you want color or image, like staff on this forum have? (That orange gradient is image)
Re: I need a code to make admin posts colored


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I need a code to make admin posts colored
Administration Panel > Users & Usergroups > Ranks
Add this to the titles of the ranks you want to have the background.
Create a new JavaScript and mark in topics/messages.
CSS Stylesheet Tab
Add this to your CSS:
Add this to the titles of the ranks you want to have the background.
- Code:
<span class="st-rang">RANK TITLE HERE</span>
Create a new JavaScript and mark in topics/messages.
- Code:
$(function() {
$('.st-rang').closest('.post').addClass('st-answer');
});
CSS Stylesheet Tab
Add this to your CSS:
- Code:
.post.online.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
}
.post.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top #E5F1F9;


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I need a code to make admin posts colored
At the top where the JavaScripts are listed is the on and off option.


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I need a code to make admin posts colored
Did you add the rank titles in the code?
For example: For administrators
For example: For administrators
- Code:
<span class="st-rang">Administrator</span>


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I need a code to make admin posts colored
I checked your stylesheet, but I did not find st-answer. Please add this to your stylesheet. It will not display if you don't add it.
SLGray wrote:Administration Panel > Display > Colors & Pictures > Colors
CSS Stylesheet Tab
Add this to your CSS:This is the same code we use.
- Code:
.post.online.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
}
.post.st-answer {
background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top #E5F1F9;
Re: I need a code to make admin posts colored
He want to change the color not to add a gradiend , replace the old javascript with this one :
- Code:
$(function() {
$('.st-rang').closest('.postbody .content').addClass('st-answer');
});
- Code:
.st-answer {
color:red;
}
- Code:
<span class="st-rank">YOUR RANK TITLE</span>
Re: I need a code to make admin posts colored
He said that he wants the orange gradiant, which is an image.candy_fear wrote:He want to change the color not to add a gradiend , replace the old javascript with this one :And now , go in administration Panel -> Display -> Colors -> CSS Stylesheet
- Code:
$(function() {
$('.st-rang').closest('.postbody .content').addClass('st-answer');
});You need to have the rank as :
- Code:
.st-answer {
color:red;
}
- Code:
<span class="st-rank">YOUR RANK TITLE</span>


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I need a code to make admin posts colored
So now what? I don't know what to do! But thanks to ZYON,SLGRAY,candy_fear and seth for trying to help me
Last edited by ddoesmc on October 27th 2013, 9:41 pm; edited 1 time in total
Re: I need a code to make admin posts colored
Add the CSS code to the top of your CSS stylesheet.
Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.
Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I need a code to make admin posts colored
Administration Panel > Display > Colors & Pictures > Colors
CSS Styelsheet Tab
CSS Styelsheet Tab


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: I need a code to make admin posts colored
It need work. When you are put code in css save it, in javascript, save it, in members rank, and it need to be all.
If I can give you that link, here is orange gradient of staff on this forum: https://i.servimg.com/u/f48/17/48/49/15/photo10.png
If I can give you that link, here is orange gradient of staff on this forum: https://i.servimg.com/u/f48/17/48/49/15/photo10.png

» How Can I Show Colored Usernames On Posts
» Code to make visited posts go unbold
» help in this code . the effect on code > add button to Put under the colored writing
» Colored Rank Posts
» Admin Colored Names
» Code to make visited posts go unbold
» help in this code . the effect on code > add button to Put under the colored writing
» Colored Rank Posts
» Admin Colored Names
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum