Change the post background of staffs
Wed Jan 21, 2015 6:48 am
In place of rank name use this:
Than paste this code to JavaScript:
Than paste this to CSS
- 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;
}
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?
Re: Change the post background of staffs
Fri Feb 20, 2015 8:23 am
They have #E5F1F9 color of background, not gradient.
Re: Change the post background of staffs
Fri Feb 20, 2015 12:08 pm
A backgroud and gradient are pretty much the same thing.
Re: Change the post background of staffs
Sun Feb 22, 2015 2:03 am
Interesting tutorial. But this is only for ATF, right?
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
Permissions in this forum:
You cannot reply to topics in this forum
|
|