Log in

View Full Version : 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.5.8
Preview:
64884

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;
}
64885
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:
<!-- 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