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.

Staff Gradient Post code not working

View previous topic View next topic Go down

Solved Staff Gradient Post code not working

Post by Syabria on May 28th 2012, 5:57 pm

Hey members,

In my forum I have done the correct thing and all the codes are correct as it worked before. But when I got my new PunBB skin only the member area turned the gradient colour and it didn't continue onto the post. See below:



Last edited by Syabria on May 28th 2012, 7:58 pm; edited 1 time in total

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by Legend™ on May 28th 2012, 6:04 pm

What is the code you are using?

Legend™
Forumember

Male Posts : 548
Reputation : 30
Language : Javascript, CSS, English
Location : Omaha

http://webgaming.forumotion.com/forum

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by RevexAU on May 28th 2012, 6:05 pm

What is your forum URL?

RevexAU
Forumember

Posts : 101
Reputation : 4
Language : english

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by Syabria on May 28th 2012, 6:07 pm

<span class="gradiantpost"><b><span style="color:#F5B905;">Admin</span>istrator</b></span>

AND

$(function() {
$('div.post:has(".gradiantpost")').css('background','url(i47.tinypic.com/ear28l.png) repeat-x');
});

My Forum URL is teenstalk(dot)forumotion(dot)com

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by Syabria on May 28th 2012, 6:15 pm

Thanks so much! Can you give me the code though for an image instead of a colour please?

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by Akkii on May 28th 2012, 6:20 pm

Code:
$(function() {
$('div.post:has(".specialpost"), div.postmain:has(".specialpost")').css('background-image','url(IMAGE URL) no-repeat scroll right top');
});

Akkii
Forumember

Male Posts : 710
Reputation : 107
Language : English,HTML, CSS,Photoshop,Javascript!
Location : Here on Forumotion!

http://www.csshelp.net

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by RevexAU on May 28th 2012, 6:25 pm

Hello you can use this one , I believe the color is almost the same as the Pale Green color behind your profile information provided in the screenshot. Put this in your Javascript and make sure you've ticked in all pages.

Code:

$(function() {
$('div.post:has(".admin1")').css('background','#fff url(http://i.imgur.com/BVlbi.png) repeat-y');
});

If you use this code make sure in Rank Administration the Rank title is
Code:
<span class="admin1">Rank Title Here</span>

If you are not satisfied with the gradient color you can change it to any one of these colors below , All you have to do is replace the link with the different gradient.

Other Gradients...

http://i47.servimg.com/u/f47/16/97/26/79/butto209.png

http://i47.servimg.com/u/f47/16/97/26/79/butto210.png

http://i47.servimg.com/u/f47/16/97/26/79/butto211.png

http://i47.servimg.com/u/f47/16/97/26/79/butto212.png

http://i47.servimg.com/u/f47/16/97/26/79/butto213.png

http://i47.servimg.com/u/f47/16/97/26/79/butto214.png

RevexAU
Forumember

Posts : 101
Reputation : 4
Language : english

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by Syabria on May 28th 2012, 6:31 pm

Thanks for your help but I tried to use a bigger gradient that would stretch all the way through, even through the actual post but it didn't work and it, again, only went as far as the border between the profile info and the post. Sad

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by Jophy on May 29th 2012, 9:48 am

The topic is marked solved...

Is this solved?

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by Syabria on May 29th 2012, 9:57 am

Yes, It's solved. Thanks

Syabria
Forumember

Female Posts : 165
Reputation : 10
Language : English
Location : Ireland

Back to top Go down

Solved Re: Staff Gradient Post code not working

Post by SLGray on May 29th 2012, 10:01 am

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://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