Admins talk forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
Ikerepc
Ikerepc
Ikerepc (Forum owner)
Ikerepc (Forum owner)
Posts : 336
Pts : 474
Reputation : 19
Join date : 2014-12-10
Location : Croatia
Full
https://ivankerepcic.iz.hr

Change the post background of staffs Empty Change the post background of staffs

Wed Jan 21, 2015 6:48 am
In place of rank name use this:
Code:
<span class="atf-rank">RANK TITLE HERE</span>

Than paste this code to JavaScript:
Code:
$(function() {
$('.atf-rank').closest('.post').addClass('atf-background');
});

Than paste this to CSS
Code:
.post.online.atf-background {
background: #E5F1F9, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
}
.post.atf-background {
background-color: #E5F1F9;
}
brandon_g
brandon_g
ATF Staff
ATF Staff
Posts : 621
Pts : 498
Reputation : 17
Join date : 2015-01-22
Location : USA
Full
http://broadcastingduo.forumotion.com

Change the post background of staffs Empty Re: Change the post background of staffs

Thu Feb 19, 2015 3:17 pm
May we have a picture of the gradient these codes are for? Like what color(s) and stuff they are?
Ikerepc
Ikerepc
Ikerepc (Forum owner)
Ikerepc (Forum owner)
Posts : 336
Pts : 474
Reputation : 19
Join date : 2014-12-10
Location : Croatia
Full
https://ivankerepcic.iz.hr

Change the post background of staffs Empty Re: Change the post background of staffs

Fri Feb 20, 2015 8:23 am
They have #E5F1F9 color of background, not gradient.
brandon_g
brandon_g
ATF Staff
ATF Staff
Posts : 621
Pts : 498
Reputation : 17
Join date : 2015-01-22
Location : USA
Full
http://broadcastingduo.forumotion.com

Change the post background of staffs Empty Re: Change the post background of staffs

Fri Feb 20, 2015 12:08 pm
A backgroud and gradient are pretty much the same thing.
The Flash
The Flash
ATF Member
Posts : 319
Pts : 187
Reputation : 10
Join date : 2015-02-12
Full
http://spamheaven.icyboards.net

Change the post background of staffs Empty Re: Change the post background of staffs

Sun Feb 22, 2015 2:03 am
Interesting tutorial. But this is only for ATF, right?
Ikerepc
Ikerepc
Ikerepc (Forum owner)
Ikerepc (Forum owner)
Posts : 336
Pts : 474
Reputation : 19
Join date : 2014-12-10
Location : Croatia
Full
https://ivankerepcic.iz.hr

Change the post background of staffs Empty Re: Change the post background of staffs

Sun Feb 22, 2015 10:37 am
You can use it anywhere. At your forum too. Atf in code isn't important. It is here for code to be unicate and for copyright Smile
Sponsored content

Change the post background of staffs Empty Re: Change the post background of staffs

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