How can I change the background of Stickies, Announcements , Global Announcements ?
+5
Illest
Knyfe
Van-Helsing
J0k3R^
[Mr][DmG]
9 posters
Page 1 of 1
How can I change the background of Stickies, Announcements , Global Announcements ?
How can i do this for phpbb2?
Last edited by [Mr][DmG] on June 3rd 2014, 5:18 pm; edited 1 time in total
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
Try this one.
javascript - in all pages:
css:
javascript - in all pages:
- Code:
$(document).ready(function() {
$('strong:contains("Sticky")').each(function(){
$(this).addClass('sticky');
});
});
$(document).ready(function() {
$('strong:contains("Announcement")').each(function(){
$(this).addClass('an');
});
});
$(document).ready(function() {
$('strong:contains("Global announcement")').each(function(){
$(this).addClass('g-a');
});
});
css:
- Code:
.sticky, .an, .g-a {
background-color: #7BA60D;
background-image: url("http://i55.servimg.com/u/f55/14/73/12/96/highli10.png");
background-position: 0 -1px;
background-repeat: repeat-x;
border-radius: 3px;
color: #FFFFFF;
display: inline-block;
font-family: Verdana,Geneva,sans-serif !important;
font-size: 9px;
font-weight: bold;
height: 16px;
line-height: 16px;
padding: 0 5px;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
text-transform: uppercase;
vertical-align: middle;
}
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
[Mr][DmG] wrote:and for title ?
These are not stickies, announcements or global announcements. These are topic prefixes.
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
i know , but i need scripts for that
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
J0k3R^ wrote:Try this one.
javascript - in all pages:
- Code:
$(document).ready(function() {
$('strong:contains("Sticky")').each(function(){
$(this).addClass('sticky');
});
});
$(document).ready(function() {
$('strong:contains("Announcement")').each(function(){
$(this).addClass('an');
});
});
$(document).ready(function() {
$('strong:contains("Global announcement")').each(function(){
$(this).addClass('g-a');
});
});
css:
- Code:
.sticky, .an, .g-a {
background-color: #7BA60D;
background-image: url("http://i55.servimg.com/u/f55/14/73/12/96/highli10.png");
background-position: 0 -1px;
background-repeat: repeat-x;
border-radius: 3px;
color: #FFFFFF;
display: inline-block;
font-family: Verdana,Geneva,sans-serif !important;
font-size: 9px;
font-weight: bold;
height: 16px;
line-height: 16px;
padding: 0 5px;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
text-transform: uppercase;
vertical-align: middle;
}
i make this but i need and for topic prefix
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
Hello ^^
Please provide a link where those prefixes are visible to guests.
Please provide a link where those prefixes are visible to guests.
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
http://socialacademy.forums.fm/forum look at Recent Topics System Activity
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
Have you looked around that forum for the codes?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
Neptune- wrote:Hello ^^
Please provide a link where those prefixes are visible to guests.
[Mr][DmG] wrote:http://socialacademy.forums.fm/forum look at Recent Topics System Activity
I don't care about Social Academy. I was expecting a link to your board with prefixes enabled.
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
Hello follow this
add this to your
Jscript Management
Name: What you want
placement: In All pages
after that paste this CSS
Images :
When posting Topic
after posting
your forum is Phpbb2 Right ?
add this to your
Jscript Management
Name: What you want
placement: In All pages
- Code:
jQuery(document).ready(function(){jQuery(".forumline").each(function(){jQuery(this).html(jQuery(this).html().replace(/✔/g,'<span id=\'perfix\'>EXAMPLE</span>'))})});
after that paste this CSS
- Code:
#perfix {
background: none repeat scroll 0px 0px rgb(123, 166, 13);
border-radius: 4px 4px 4px 4px;
color: rgb(255, 255, 255);
display: inline-block;
font-size: 9px;
font-weight: 700;
height: 15px;
line-height: 15px;
padding: 0px 5px;
text-transform: uppercase;
vertical-align: middle;
}
Images :
When posting Topic
after posting
your forum is Phpbb2 Right ?
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
yes is phpbb2 and thanks is very good
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
[Mr][DmG] wrote:yes is phpbb2 and thanks is very good
Hi,
I just wanted to check before archiving. Is this topic actually solved?
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Re: How can I change the background of Stickies, Announcements , Global Announcements ?
Topic Solved & Locked
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Similar topics
» How can I change the background of Stickies, Announcements Global Announcements table?
» How can I change the background of Stickies, Announcements, Global Announcements?
» creating an area for global and stickies
» Cannot Create Stickies, Announcements, OR Global Announcements... As Founder
» How to categorize Global Announcement, Announcement & Stickies
» How can I change the background of Stickies, Announcements, Global Announcements?
» creating an area for global and stickies
» Cannot Create Stickies, Announcements, OR Global Announcements... As Founder
» How to categorize Global Announcement, Announcement & Stickies
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum