Automatic change colore font when post
3 posters
Page 1 of 1
Automatic change colore font when post
hi
i need any code or any way make
example : Color group to which I belong "green colore"
I want a way to make me type when any subject to automatic color Green
& etc. to all membre's
&
thanks so much
i need any code or any way make
example : Color group to which I belong "green colore"
I want a way to make me type when any subject to automatic color Green
& etc. to all membre's
&
thanks so much
Re: Automatic change colore font when post
Since this is a coding question I'll move this to Scripts and Coding Problems.
Other Problems --> Scripts and Coding Problems
Other Problems --> Scripts and Coding Problems
Derri- Helper
- Posts : 8711
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Re: Automatic change colore font when post
Are you trying to change a member's post color to match their group color? If so, it might take some time depending on how many groups you have. But if that's what your aiming for, start by going to User and Groups -> Ranks -> Rank administration -> If you have ranks assigned to the users from each group, click the edit button and then put
Next, go to Modules -> HTML and Javascript -> Javascript codes management -> Create a new Javascript -> paste this code:
Then go to Display -> Pictures and Colors -> Colors -> CSS Stylesheet -> Paste this code
- Code:
<span class="group1">
- Code:
</span>
Next, go to Modules -> HTML and Javascript -> Javascript codes management -> Create a new Javascript -> paste this code:
- Code:
$(function() {
$('.group1').closest('.post').addClass('group1style');
});
Then go to Display -> Pictures and Colors -> Colors -> CSS Stylesheet -> Paste this code
- Code:
.group1style .postbody div {
color:#GROUP COLOR;
}
- (example):
- User and Groups -> Ranks -> Rank administration -> If you have ranks assigned to the users from each group, click the edit button and then put
- Code:
<span class="group2">
- Code:
</span>
Next, go to Modules -> HTML and Javascript -> Javascript codes management -> Create a new Javascript -> add after the code I just gave you- Code:
$(function() {
$('.group2').closest('.post').addClass('group2style');
});
Then go to Display -> Pictures and Colors -> Colors -> CSS Stylesheet -> Paste this code- Code:
.group2style .postbody div {
color:#GROUP COLOR;
}
Re: Automatic change colore font when post
thanks , in css i will edit
i cant edit
in the group i dent understand why auto change name
he auto change to :
<span class="group1"> id
!!
- Code:
COLOR;
i cant edit
in the group i dent understand why auto change name
- Code:
<span class="group1"> Group name </span>
he auto change to :
<span class="group1"> id
!!
Similar topics
» Global font change to imported Google font
» automatic post
» How to create automatic post page like Support Forum
» Automatic completion in Post Editor
» Automatic Post Title when posting a reply.
» automatic post
» How to create automatic post page like Support Forum
» Automatic completion in Post Editor
» Automatic Post Title when posting a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum