Forums

Google Calendar Events
[resolved] Unpredictable calendar grid width (5 posts)

  1. leahad
    Member
    Posted 9 months ago #

    Hi! I loved this plugin so much I installed it on all four sites I'm maintaining right now. It went fine with the first two, but for some reason the grid on the second two is only displaying at half-width - even though the list format goes all the way across the page. I've gone into the css and set the main calendar grid to 200% and 800, but neither had any effect. WHAT could be going on there?

    Here are the links:
    http://www.lakestoland.org/calendar-2/
    http://www.weareaf.com/calendar/
    http://www.acmeshores.org/calendar/
    http://www.northportmi.org/calendar/

    THANK YOU!

    http://wordpress.org/extend/plugins/google-calendar-events/

  2. Ross Hanney
    Member
    Plugin Author

    Posted 9 months ago #

    Hello,

    In your theme's style.css file, starting on line 765 you have the following rule:

    #content table {
    	border: 2px solid #AAA;
    	text-align: left;
    	margin: auto;
    	margin-bottom: 5px;
    	width: auto;
    }

    It's the width: auto; that's causing the problem (coupled with specificity issues).

  3. leahad
    Member
    Posted 9 months ago #

    Oh! Great! Erm...how would I fix that? There's a huge DO NOT EDIT THIS FILE warning at the top of my style.css. Could I somehow avert the "specificity issues"?

  4. Ross Hanney
    Member
    Plugin Author

    Posted 9 months ago #

    Usually, you'd create a child theme and override the required CSS in the child theme's style.css file. However, according to this, there's a "Custom CSS Rules" option in the Weaver II theme, so that might be simpler.

    The CSS you'd need would be something like this:

    #content .gce-calendar {
    	width: 100%;
    }
  5. leahad
    Member
    Posted 9 months ago #

    HA! Another great triumph to your credit. I have gone from never-Wordpressed to WordPress-for-a-living over the course of the past three months, so I spend a LOT of time trolling through these boards - and as far as I can tell your support is pretty much without parallel. THANK! YOU!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.