Hello dear user,
I have followed this tutorial.
My forum don't show the warning for locked topics.
Javascript:
CSS:
My forum link is: -delete by Joost-
You have a account needed to login on this forum, i can send you a pb with the login codes as you will.
Many thanks for your time and help !
Regards, Joost
I have followed this tutorial.
My forum don't show the warning for locked topics.
Javascript:
- Code:
$(function(){
$('.bodyline #page-body:has(#i_reply[alt*="locked"]), #main-content:has(.i_reply[alt*="locked"])').prepend('<div class="topic-warning-block" align="center">We\'re sorry but this topic is locked.</div>');
});
CSS:
- Code:
.topic-warning-block {
border: 1px solid;
margin: 10px 0px;
padding: 15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
background-image: url(http://1.bp.blogspot.com/_5rlxf3T9Z9U/SsIXuytpYfI/AAAAAAAADcI/I4Tm0W5gDQk/lock_32.png);
color: #750000 !important;
background-color: #D26067;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
text-align: center;
font-weight: bold;
font-size: 18px;
text-shadow: 1px 1px 1px #AAA;
}
My forum link is: -delete by Joost-
You have a account needed to login on this forum, i can send you a pb with the login codes as you will.
Many thanks for your time and help !
Regards, Joost
Last edited by Joost on January 8th 2018, 8:53 pm; edited 2 times in total