• Hi iim trying to install the google calendar in the constructor theme sidebar.
    The only problem is that the calendar automatically gets a with of 455 px and my sidebar is 250. I halve tried ti change the css of the calendar to 230 instead of 100% but it dosent work.

    anybody had this problem and knows how to fix it)

    /Christian

    http://ww.wp.xz.cn/extend/plugins/google-calendar-events/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ross Hanney

    (@rosshanney)

    Hi there,

    This occurs because the theme adds some extra padding to the <td> and <th> elements that make up the <table>. This forces the calendar to be wider than the sidebar.

    If you add the following CSS to the end of the plugin stylesheet (google-calendar-events/css/gce-style.css), it should override the padding:

    .gce-calendar th, .gce-calendar td{
        padding:0;
    }

    You may also want to add the following too. This will centre-align the calendar heading:

    .gce-calendar th, .gce-caption{
        text-align:center;
    }

    Let me know if you have any further problems.

    Ross

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Google Calendar Events] Google calendar with constructor theme’ is closed to new replies.