boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changing Calendar Font

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
djlerman



Joined: 21 May 2004
Posts: 6
Location: Los Angeles, CA

PostPosted: Fri May 21, 2004 1:08 am    Post subject: Changing Calendar Font Reply with quote

How do I change the font for the calendar??
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Sigg3



Joined: 03 Jul 2003
Posts: 294
Location: Oslo, Norway

PostPosted: Fri May 21, 2004 10:15 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
djlerman



Joined: 21 May 2004
Posts: 6
Location: Los Angeles, CA

PostPosted: Fri May 21, 2004 6:23 pm    Post subject: Changing Calendar Font Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group