PDA

View Full Version : Calendar Enhancements - The Calendar "Small Month Day Other" Change The Background Colour


LEAD_WEIGHT
05-28-2007, 10:00 PM
Change The Background Of "Small Month Day Other" On The Calendar

vB version 3.6.7
Preview:
64881

All righty, then I will show you a very simple way of doing this.

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
.alt4
{
background-color: #FF0000;
color: #FF0000;
}
64882
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.6.7
Find in red:
<!-- 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.
<!-- a single day from another month on the small calendars -->
<td class="alt4"><span class="smallfont"><em>$day</em></span></td>

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

LEAD_WEIGHT
05-29-2007, 08:57 PM
Resevered for futher thoughts...