Staff Posting Color
4 posters
Page 1 of 1
Staff Posting Color
@Ange Tuteur Hello I noticed there is a color on the bottom left of staff posts can I do this on my forum?
Maybe there is a topic.
Image:
Regards
FrOstyXi
Maybe there is a topic.
Image:
Regards
FrOstyXi
Re: Staff Posting Color
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: Staff Posting Color
Add a tag to your rank title with a specific class, frosty, for example.
( Users and groups > Rank administration > create or edit your rank )
Include an html tag with your personal classname. Ex :
Make sure to set it as a special rank, and assign it to yourself by editing your profil in the AP. Next go to Modules > JS codes management > create a new script
Placement : In the topics
After this we can define a style in Display > Colors > CSS stylesheet
You can target anything in your posts by using your special class ( .frosty-bg )
( Users and groups > Rank administration > create or edit your rank )
Include an html tag with your personal classname. Ex :
- Code:
<span class="frosty"></span>
Make sure to set it as a special rank, and assign it to yourself by editing your profil in the AP. Next go to Modules > JS codes management > create a new script
Placement : In the topics
- Code:
$(function() {
// find tags with the class frosty, then apply our bg class to the message body
$('.frosty').closest('.post').addClass('frosty-bg');
});
After this we can define a style in Display > Colors > CSS stylesheet
- Code:
.post.frosty-bg {
background:red;
}
You can target anything in your posts by using your special class ( .frosty-bg )
Re: Staff Posting Color
The correct way:
Put this code in JavaScript
Select all pages
Or threads
This is the code I
This place it in css
Put this
place the image sizes
Like this image sizes
https://i.servimg.com/u/f19/19/17/81/75/admin110.png
You can design the gradient on this picture I do not know how to write the gradient
Put this code in JavaScript
Select all pages
Or threads
This is the code I
- Code:
FA.Ready(function() {
for (var a = $('.postprofile', document.getElementById('main-content')), b, c, i = 0, j = a.length; i < j; i++) {
b = a[i].innerHTML;
if (/class="st-rang.*?"/.test(b)) {
b = b.replace(/\n/gm, '').replace(/.*class="st-rang\s(.*?)".*/, '$1');
c = a[i].parentNode.parentNode;
c.className += ' st-answer';
switch (b) {
case 'bguser':
c.className += ' bguser';
break;
}
}
}
}, 'right');
This place it in css
- Code:
.post.st-answer {
background-image:url(place here is a picture to insert);
background-position:0 100%;
background-repeat:no-repeat;
background-size:100%
}
.post.st-answer.bguser {
background-image:url(place here is a picture to insert)
}
Put this
- Code:
<strong class="st-rang bguser">put here the name of the rank</strong>
place the image sizes
Like this image sizes
https://i.servimg.com/u/f19/19/17/81/75/admin110.png
You can design the gradient on this picture I do not know how to write the gradient
Re: Staff Posting Color
Topic solved and archived
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
» change posting background color
» Background Color of Posting Area
» A code staff color
» Custom color posts for staff membrs
» Problem changing color post for forum staff
» Background Color of Posting Area
» A code staff color
» Custom color posts for staff membrs
» Problem changing color post for forum staff
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum