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 to add a staff background only in the profile ?

View previous topic View next topic Go down

Solved How to add a staff background only in the profile ?

Post by YoshiGM on Sun Mar 01, 2015 3:53 am

Hello everyone,

Today i'm trying to add a custom staff background but i don't wan to the background in all profile or message..

Only want a background in the postprofile.. How can i get it ?

The Javascript i'm using for this is:

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

And the Span in the rank:

Code:
<span class="st-admin">Rank Title</span>

I also tried with css:

Code:
.postprofile, .st-amin {
yadda yadda
}

But not worked 

My forum is this: http://testyfc.forummotion.com/forum

Thank you four you support  cheers


Last edited by YoshiGM on Sun Mar 01, 2015 4:48 am; edited 1 time in total
avatar
YoshiGM
Forumember

Male Posts : 663
Reputation : 92
Language : Spanish, English & Italian (16%)
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add a staff background only in the profile ?

Post by Fierce Star on Sun Mar 01, 2015 4:12 am

If you only want the background to be in the post profile, try adding this to your CSS (Display -> Colors -> CSS Stylesheet):
Code:
.st-adm .postprofile {
background-color: #FFF;
}
and then change #FFF to the background color you want the post profile to have.

Fierce Star
Forumember

Male Posts : 110
Reputation : 17
Language : English
Location : United States

http://inactivesite.onlyhelpwithothersnow.com

Back to top Go down

Solved Re: How to add a staff background only in the profile ?

Post by YoshiGM on Sun Mar 01, 2015 4:43 am

Ok, than you.
was easy than i thought lol.

The comma "," as always.

Solved.
avatar
YoshiGM
Forumember

Male Posts : 663
Reputation : 92
Language : Spanish, English & Italian (16%)
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: How to add a staff background only in the profile ?

Post by SLGray on Sun Mar 01, 2015 7:06 am

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40507
Reputation : 2733
Language : English
Location : United States

https://fmthemes.forumotion.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