The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Can You make a Sticky post glow

2 posters

Go down

Can You make a Sticky post glow Empty Can You make a Sticky post glow

Post by Kdreml October 31st 2015, 4:24 pm

I posted instructions on how to upload and post a screenshot on my site and wanted everyone to notice the sticky post. Is there a way to make just stickys glow?
Kdreml
Kdreml
New Member

Posts : 17
Reputation : 1
Language : English

http://Unitedhorde.com

Back to top Go down

Can You make a Sticky post glow Empty Re: Can You make a Sticky post glow

Post by EndlessDream November 4th 2015, 4:18 am

You use PhpBB3 version, right?

If so, go to your Admin panel -> Modules -> JavaScript Codes Management -> Create New -> Add any title -> Select "In all the pages" and add this code:

Code:
$(document).ready(function() {
$('dd.dterm strong:contains("Sticky")').each(function(){
$(this).addClass('sticky');
});
});

Save it and make sure Javascript is enabled on your forum.

Now go to Display -> Colors -> CSS Stylesheet and add this code:
Code:
.sticky {
text-shadow: 0 0 0.3em  #E34124, 0 0 0.3em  #E34124;
}

Save changes and that's it.
You can play with color of shadow etc.

Note: this code will work only on PhpBB3 version, if you need it for other forum version, say and I'll post it. Wink
EndlessDream
EndlessDream
Forumember

Male Posts : 107
Reputation : 22
Language : English, Spanish, Serbian

Back to top Go down

Back to top

- Similar topics

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