Log in

View Full Version : Change color of 'red box' in Calendar?


karavarus
08-11-2006, 06:05 AM
Is there a way to change the color of the box in the Calendar section that encompasses the day's date? The default color is red, but I think it would be spiffy if it matched my navbar. Please guide me to where this change can be made. I would much appreciate it. :)

running 3.5.4

Kirk Y
08-11-2006, 08:06 AM
In templates 'calendar_edit' and 'calendar_monthly_day':

Find and Change Color:
<td class="alt2" height="50" width="$daywidth" style="padding:0px; border:1px solid red; font-weight:bold" title="$vbphrase[today]">

In template 'calendar_smallmonth_day':

Find and Change Color:
style="border:1px solid red;

karavarus
08-12-2006, 02:13 PM
I could not find that 'code' in 'calendar edit', but I did find it in 'calendar monthly day' ...

my question is, I want to use color 'CC0066'... How do I code this in properly... ???

Kirk Y
08-12-2006, 03:28 PM
Search for similar code -- it's in there, trust me. Try just searching for "red".

You would use:
border:1px solid #CC0066;

karavarus
08-12-2006, 11:51 PM
Cool...the code worked without having to change the 'calendar edit' template. I tried looking for something, but I could not even find the word 'today' in there. Anyway, it changed. THANKS!!!! :)