Board Logo

resize fonts in calender???
newuser - 4/2/2005 at 09:34 PM

hi....
does anyone have any idea how to resize the font sizes in the calender. My default font size seems to be Arial 11 ....and my calender is much larger than i wud like it to be.... cos of this. Can anyone tell me if they know a way how to reset font size...maybe from the calender.php file?? I tried most of the files but i cant seem to locate any specific function that determines the font size. I have tried the table cell resize but that doesnt make my table smaller. I guess it can only make the cell as small as the font inside it is...... :s

Thanks.....


Nicholas - 4/25/2005 at 04:22 PM

Well if I can figure out where the CSS styles are stored for the calendar I can answer your question.

Based on the class names that are listed in the "Calendar Config" in the admin pages, the only places I see the styles show up are the "index.php" pages in the root calendar folder and in "cl_files". Neither of which seem to change the actual calendar font.


dhender02 - 5/1/2005 at 05:33 AM

The page that contains your calendar, just set a style for that page.... I.E.

<STYLE TYPE="text/css">
TD {font-family: tahoma, verdana, arial}
TD {font-size: x-small}
</STYLE>


jeremywilken - 12/31/2005 at 09:01 PM

put these css styles inside the page you are displaying the calendar, you can modify them as you wish and get the results that way



.Cheader
{color: #ffffff; font-family: Tahoma, Verdana; font-size: 11px;}
.Cheader2
{color: #ffffff; font-family: Tahoma, Verdana; font-size: 11px;}
.Ccur
{color: #000000; font-family: Tahoma, Verdana; font-size: 11px;}
.Cbody
{color: #000000; font-family: Tahoma, Verdana; font-size: 11px;}
.Cbodyh
{color: #606060; font-family: Tahoma, Verdana; font-size: 11px;}
.Cwe
{color: #000000; font-family: Tahoma, Verdana; font-size: 11px;}


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/