Viewing 15 replies - 1 through 15 (of 17 total)
  • I had the same problem after updating the plugin a while ago. The solution for me was to change the events template setting to the one they provide – it’s called “Default Events Template” accessed from Events – Settings – Template. Hope that will work for you.

    It’s taking the color of your first event and using that color as the entire calendar page background.

    Thread Starter hansford77

    (@hansford77)

    How do I configure the Default Events Template though, to have my styling?

    That I don’t know. It plays nice with the theme I’m using (Suffusion). You’ll probably have to email the dev.

    Plugin Author Andy Fragen

    (@afragen)

    @handsford77 – it seems that setting the template to Default Events Template has fixed this issue. Please confirm.

    You can create your own Events Template by copying/modifying the ecp-page-template.php. Please refer to the Themer’s Guide for more info.

    @placeofstillness – thanks.

    Thread Starter hansford77

    (@hansford77)

    Hi, no it isn’t fixed because even though I’ve copied ecp-page-template.php to my theme and changed it, the page still doesn’t look like my site. I understand that isn’t your problem though as the events calendar isn’t your plugin.

    Thread Starter hansford77

    (@hansford77)

    I missed an important bit, where the file has to go into /events. I’m getting there now but it’s long work getting it to look right! thanks guys

    Plugin Author Andy Fragen

    (@afragen)

    This issue should now be fixed within the plugin in v1.5.1 when using the Default Page Template (which is part of your theme and not part of The Events Calendar)

    Plugin Author Andy Fragen

    (@afragen)

    New v1.5.5 added a preference to check if your whole calendar is taking on the styling of the first event category of the month.

    Let me know if this hasn’t solved the problem.

    Plugin Author Andy Fragen

    (@afragen)

    I have to remove this from the plugin, but if the code worked for you then you can copy if from my gist and put it in your theme’s functions.php file.

    Sorry for any inconvenience. Let me know if this works.

    Thread Starter hansford77

    (@hansford77)

    That works, thanks a lot.

    Plugin Author Andy Fragen

    (@afragen)

    @hansford77, glad it’s all working for you.

    Thread Starter hansford77

    (@hansford77)

    I spoke too soon… It’s fixed the calendar but broken my blog. My theme uses post_class, and your filter hook stops that working.

    Plugin Author Andy Fragen

    (@afragen)

    It seems that you’ll have to create and modify your own copy of ecp-page-template.php to fill your needs and refer to the Themer’s Guide.

    Unfortunately a bug in The Events Calendar causes this extraneous category tag to be placed in the Default Page template. The other solution is to use the Default Events template. Sorry.

    Plugin Author Andy Fragen

    (@afragen)

    That filter hook in the gist should only fire on a calendar page. What does the blog look like when gist is active?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Whole calendar coloured in’ is closed to new replies.