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.

Can You make a Sticky post glow

View previous topic View next topic Go down

Can You make a Sticky post glow

Post by Kdreml on 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
New Member

Posts : 17
Reputation : 1
Language : English

http://Unitedhorde.com

Back to top Go down

Re: Can You make a Sticky post glow

Post by EndlessDream on 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
Forumember

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

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