vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   The Calendar "Small Month Day Other" Change The Background Colour (https://vborg.vbsupport.ru/showthread.php?t=148432)

LEAD_WEIGHT 05-28-2007 10:00 PM

The Calendar "Small Month Day Other" Change The Background Colour
 
Change The Background Of "Small Month Day Other" On The Calendar

vB version 3.5.8
Preview:
Attachment 64884

All righty, then I will show you a very simple way of doing this.
  1. Goto Admin CP -> Styles & Templates -> Style Manager [choose style to be edit] -> All Styles Option --> Main CSS --> Additional CSS Definitions [add to second box]---> Click Save
    Code:

    .alt4
    {
            background-color: #FF0000;
            color: #FF0000;
    }

    Attachment 64885
  2. Goto Admin CP -> Styles & Templates -> Style Manager [choose style to be edit] -> All Styles Option --> Edit Templates --> ? expand all template groups? --> Calendar Templates ? --> calendar_smallmonth_day_other

    vB version 3.5.8
    Find in red:
    Code:

    <!-- a single day from another month on the small calendars -->
    <td class="alt1"><span class="smallfont"><em>$day</em></span></td>

    Change code to what is in blue.
    Code:

    <!-- a single day from another month on the small calendars -->
    <td class="alt4"><span class="smallfont"><em>$day</em></span></td>

  3. Save in Template History? Check: YES -- Comment -- calendar_smallmonth_day_other_colour --> Click Save

You can change to any color you want...
http://www.w3schools.com/html/html_colornames.asp
http://www.colorschemer.com/online.html


All times are GMT. The time now is 01:06 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.01103 seconds
  • Memory Usage 1,712KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete