View previous topic :: View next topic |
Author |
Message |
djlerman
Joined: 21 May 2004 Posts: 6 Location: Los Angeles, CA
|
Posted: Fri May 21, 2004 1:08 am Post subject: Changing Calendar Font |
|
|
How do I change the font for the calendar?? |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 294 Location: Oslo, Norway
|
Posted: Fri May 21, 2004 10:15 am Post subject: |
|
|
You go into the .css file, by default b2layout.css
These are the needed variables to change or add:
Code: | .b2calendarmonth {}
the style that is used to display the month and year
.b2calendartable {}
the style of the <table> tag (border etc...)
.b2calendarrow {}
the style of the <tr> tag
.b2calendarheadercell {}
the style of the <td> tag that shows the weekdays on the top of the table
.b2calendarcell {}
the style of the <td> tags that show the days
.b2calendaremptycell {}
the style of the <td> tags that are empty
.b2calendarlinkpost {}
the style of the link to the post
.b2calendartoday {}
the style of the day if it is today |
( from http://cafelog.com/readme.html ) _________________ Sigg3 dot net - because you're worth it! |
|
Back to top |
|
 |
djlerman
Joined: 21 May 2004 Posts: 6 Location: Los Angeles, CA
|
Posted: Fri May 21, 2004 6:23 pm Post subject: Changing Calendar Font |
|
|
For those that need it less vague. This is what I figured out.
Open the layout2b.css file. Copy and past the following to the end of the file. Change the options as needed. I found these options (font-size: & text-align:) elsewhere in the layout2b.css file. I don't know all of the options available or what you can change for those options. Respond to this thread if there is a list somewhere.
COPY BELOW TEXT TO THE BOTTOM OF THE layout2b.css FILE
Code: | /* the style that is used to display the month and year */
.b2calendarmonth {
font-size:10px;
text-align: center;
}
/* the style of the <table> tag (border etc...) */
.b2calendartable {
font-size:10px;
text-align: center;
}
/* the style of the <tr> tag */
.b2calendarrow {
font-size:10px;
text-align: center;
}
/* the style of the <td> tag that shows the weekdays on the top of the table */
.b2calendarheadercell {
font-size:10px;
text-align: center;
}
/* the style of the <td> tags that show the days */
.b2calendarcell {
font-size:10px;
text-align: center;
}
/* the style of the <td> tags that are empty */
.b2calendaremptycell {
font-size:10px;
text-align: center;
}
/* the style of the link to the post */
.b2calendarlinkpost {
font-size:10px;
text-align: center;
}
/* the style of the day if it is today */
.b2calendartoday {
font-size:10px;
text-align: center;
} |
|
|
Back to top |
|
 |
|