Background color and text color by rank
3 posters
Page 1 of 1
Background color and text color by rank
Hi all
Can I have background color (image) and text in different color than other users?
I think automatic text color, but different than other users automatic (I think normall) color.
Thanks in advice
Can I have background color (image) and text in different color than other users?
I think automatic text color, but different than other users automatic (I think normall) color.
Thanks in advice
Last edited by Zyon on August 24th 2013, 3:32 pm; edited 1 time in total
Re: Background color and text color by rank
Let's make sure we are on the same page. You want it where your text is automatically a different color then other users. Also you want a different color background for messages.
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: Background color and text color by rank
Yes.
On this forum staff have some background image. I want color, but on post too, not only on profile details in post. And different automatic color, like you say.
So it is posible, and can you help me?
On this forum staff have some background image. I want color, but on post too, not only on profile details in post. And different automatic color, like you say.
So it is posible, and can you help me?
Re: Background color and text color by rank
Hi,
First step:
Go to "Administration Panel ~> Users & Groups ~> Ranks ~> Rank Administration" select the rank you want to have different background and text color, complete the field "Rank Title" with this code:
Go to "Administration Panel ~> Module ~> HTML & JAVASCRIPT ~> JavaScript codes management", create a new code and add:
Have a nice day!
First step:
Go to "Administration Panel ~> Users & Groups ~> Ranks ~> Rank Administration" select the rank you want to have different background and text color, complete the field "Rank Title" with this code:
- Code:
<span class="admin">Administrator</span>
Go to "Administration Panel ~> Module ~> HTML & JAVASCRIPT ~> JavaScript codes management", create a new code and add:
- Code:
$(document).ready(function(){
$('.post:has(".admin") .postbody').css('color','#008DFF');
$('.post:has(".admin") .row1, .post:has(".admin") .row2').css('background-color','#333333');
});
Have a nice day!
Re: Background color and text color by rank
Hey,
Font color work grate, but background not. Can you fix that?
Just to say if it can help, my forum version is punBB
Font color work grate, but background not. Can you fix that?
Just to say if it can help, my forum version is punBB
Re: Background color and text color by rank
Sorry. I thought it's phpBB2. Replace the JavaScript code by:
- Code:
$(document).ready(function(){
$('.post:has(".admin") .postbody').css('color','#008DFF');
$('.post:has(".admin") .postmain').css('background-color','#333333');
});
Re: Background color and text color by rank
It's work.
Just one more, now just message body have that color. Can you help me that profile in post and message title have that background color too? But if can little lighter. I want to say, I want have different color of profile in post and background of message in post...
Just one more, now just message body have that color. Can you help me that profile in post and message title have that background color too? But if can little lighter. I want to say, I want have different color of profile in post and background of message in post...
Re: Background color and text color by rank
Sorry, for profile on PunBB this would not be possible. But for post header, replace the code by:
- Code:
$(document).ready(function(){
$('.post:has(".admin") .postbody').css('color','#008DFF');
$('.post:has(".admin") .postmain').css('background-color','#333333');
$('.post:has(".admin") .posthead').css('color','#f4f4f4');
});
Re: Background color and text color by rank
yes, and nothing
Edit:
I'm need just
Solved
Edit:
I'm need just
- Code:
$('.post:has(".admin") .posthead').css('color','#f4f4f4');
Solved
Re: Background color and text color by rank
Topic Solved & Locked
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.
Similar topics
» Text In Quote Box Same Color As Background And Unreadable
» wana change all widget title background and Text color
» Rank Background
» [background color update]-I want the code to change the background color
» Text centering and background
» wana change all widget title background and Text color
» Rank Background
» [background color update]-I want the code to change the background color
» Text centering and background
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum