View Full Version : Forum Home Enhancements - YJD - Change color of notice
foudu1030
02-04-2012, 11:00 PM
Demo:
http://up.marocinoh.net/images/notice1.jpg
Open template additional.css and add:
#notices .restore {
background-color: #D0EDFE;
border: 1px solid black;
font-family:arial, verdana, sans-serif;
margin-bottom: 10px;
font-size:13px;
font-weight: bold;
text-align:center;
line-height:16px;
padding: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#notices .restore a:link, #notices .restore a:visited {
color:{vb:stylevar lastposttitle_link_color};
font-weight: bold;
}
Finish ! =)
RobbieZ
02-05-2012, 04:05 PM
Your title suggests that you can control the color of your notice background by applying your code in additional css template.
4.1.10 stylevar notices_background all ready does this!
foudu1030
02-06-2012, 04:11 PM
Sorry, I'm not english.
I'm from Belgium and I speak not good english.
Can you described your comment?
Thanks
TheSupportForum
02-06-2012, 05:48 PM
Sorry, I'm not english.
I'm from Belgium and I speak not good english.
Can you described your comment?
Thanks
basically this edit is useless
stylevar notices_background (stylvar controls this)
foudu1030
02-06-2012, 06:53 PM
Ah ! Okay !
I did not know :p
PakStarTv.com
02-10-2012, 08:18 PM
awesome !!!!!
changed
doctorsexy
02-13-2012, 09:00 AM
Thank you...
faisaly.com
02-14-2012, 03:48 AM
The code works just fine for those who don't wanna mess with style variables... my comment is remove the text-align:center; in the code... you can use html when making a notice and add an image using html also...
foudu1030
02-15-2012, 03:17 PM
The code works just fine for those who don't wanna mess with style variables... my comment is remove the text-align:center; in the code... you can use html when making a notice and add an image using html also...
Of course :)
Dr.osamA
03-06-2012, 07:12 AM
rated = Excellent
installed
tank you bro
keep it up bro
Zarhym
08-14-2012, 01:25 AM
Thanks for this, but I suggest removing following codes.
font-weight: bold;
text-align:center;
Not close to all my text in my notices needs to be centered or bold. I'm sure not everyone would like that in all there notices.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.