• Is there a way to make get_calendar() smaller? I’m testing it at https://beta.bleakgeek.com for my new design layout and I was hoping to get it smaller than it currently is. I checked on the codex site, but the only parameter I can see to be passed is daylength. Any ideas how to make it smaller?

Viewing 2 replies - 1 through 2 (of 2 total)
  • you can adjust all the calendar font and cell sizes via css.
    i personally used:

    /* Begin Calendar */
    #wp-calendar {

    border: 1px solid #ddd;
    empty-cells: show;
    width: 160px;
    background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color:#000;
    font-size: 7.7pt;
    }

    #wp-calendar #next a {
    padding-right: 1px;
    text-align: right;
    text-decoration: none;
    background-color: #ffffff;
    }

    #wp-calendar #prev a {
    padding-left: 1px;
    text-align: left;
    text-decoration: none;
    background-color: #ffffff;
    }

    #wp-calendar a {
    display: block;
    color: #527434;
    background-color: #cccccc;
    }

    #wp-calendar caption {
    text-align: left;
    font-family: ‘Arial Black’;
    color: #A04444;
    font-size: 7.5pt;
    text-transform: uppercase;
    }

    #wp-calendar td {
    padding: 0px;
    text-align: center;
    background-color: #ffffff;
    }

    #wp-calendar #today {
    color: #A04444;
    }

    #wp-calendar td.pad:hover { /* Doesn’t work in IE */
    background-color: #ffffff; }
    }
    /* End Calendar */

    hope this helps ??

    Thread Starter Jon Dingman

    (@jdingman)

    Slightly helpful. A bit too small, but I will make sure to check it on different resolutions and then just modify as needed. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_calendar() size?’ is closed to new replies.