The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How do i change the color post for staff on a forum

View previous topic View next topic Go down

How do i change the color post for staff on a forum

Post by bubblejuice on August 26th 2012, 8:30 am

How do i do this :



When he posts it is orange and it fades to right.
i want to know how

I think it is a code but not sure

idk how to do a poll so dont say you have to do a poll

bubblejuice
New Member

Posts : 8
Reputation : 2
Language : English

Back to top Go down

Re: How do i change the color post for staff on a forum

Post by Sanket on August 26th 2012, 11:24 am


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: How do i change the color post for staff on a forum

Post by Tiggati on September 5th 2012, 10:51 am

You need to add this to your rank title:

Code:
<span class="st-rang">RANK TITLE HERE</span>

Than this to JS management:

Code:
$(function() {
$('.st-rang').closest('.post').addClass('st-answer');
});

Than this to 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://illiweb.com/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;

Then change the image to yours. It's the same code Fm uses.

Tiggati
New Member

Male Posts : 6
Reputation : 1
Language : English
Location : Australia

http://www.forumers-lounge.com

Back to top Go down

Re: How do i change the color post for staff on a forum

Post by Sanket on September 5th 2012, 9:25 pm

Solved?

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum