• I recently upgraded from the ancient b2 blogger to WP2.0 and so far everything has been a piece of cake. I have a question which I am not sure is more php related or what. I remember a long time ago I was able to add the calendar to b2, but never could figure out how to change its format. I have the same ugly calendar on my new page in WP2.0 so I assume it is stored somewhere, but I can’t find where. This is the statement that calls the calendar:

    <?php get_calendar(); ?>

    I don’t know what that is referencing. If anyone can give me some advice as to where to look to change the font/font size I would greatly appreciate it. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Usually it is done in the style.css of the theme you are using.

    Thread Starter eddierebel

    (@eddierebel)

    That’s what I was afraid of. In the style.css there are alot of references to .b2calendar — I have changed all of the font sizes and it has yet to change anything on my webpage. Here is what it says right now, if anyone has a suggestion on how to make this look like a normal, standard calendar I would appreciate it:

    .b2calendartable {
    background: #bfc4cb;
    border: 1px solid #5f7797;
    }

    .b2calendarmonth {
    font: 7px georgia;
    }

    .b2calendarrow {
    }

    .b2calendarheadercell {
    background: #5f7797;
    color: #e9f2fc;
    font: 7px georgia;
    }

    .b2calendarcell {
    color: #333333;
    font: 7px georgia;
    }

    .b2calendartoday {
    color: #ff0000;
    }

    .b2calendaremptycell {
    }

    .b2calendarlinkpost {
    color: #354463;
    text-decoration: none;
    }

    Look in the default and/or classic stylesheet: all the calendar related stuff starts with:
    #wp-calendar...

    Thread Starter eddierebel

    (@eddierebel)

    I have tried changing the font sizes for all #wp-calendar references in the default, classic, and journalized-winter (the theme I am currently using) folders and so far nothing has changed. Any other suggestions? Does anyone have some code for this I could try inserting into my .css to see if it changes? Thanks for all the help — You guys rock!

    I succeeded to change everything in the calendar in my first theme:
    http://www.transycan.net/blogtest/
    Download it form there (Dark Maple) and see what’s in the stylesheet.

    Thread Starter eddierebel

    (@eddierebel)

    Thank you moshu, you have solved everything apparently 🙂 I took out the old css and inserted the calendar section from yours. Now I will just tinker with yours until it fits in with this theme a little better. Keep up the good work!

    Glad it was helpful. (There are some very minor differences how the hover works in IE and FF – but… still functional in both!)

    moshu, i downloaded your theme and copied the calendar section in, but nothing changed. do i need to keep inserting different calendar code until i find one that works?

    thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Calendar format question’ is closed to new replies.