vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - YJD - Change color of notice (https://vborg.vbsupport.ru/showthread.php?t=278087)

foudu1030 02-04-2012 11:00 PM

YJD - Change color of notice
 
1 Attachment(s)
Demo:

http://up.marocinoh.net/images/notice1.jpg

Open template additional.css and add:

Code:

#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

Quote:

Originally Posted by foudu1030 (Post 2296850)
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

Quote:

Originally Posted by faisaly.com (Post 2299493)
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


All times are GMT. The time now is 02:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01040 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete