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.0.17


All righty, then I will show you a very simple way of doing this.
[LIST=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
.alt4
{
background-color: #FF0000;
color: #FF0000;
}

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.0.17
Find in red:
<!-- a single day from another month on the small calendars -->
<td class="smallfont"><em>$day</em></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>

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