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.
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.
@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.
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.
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
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)
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.
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.
That works, thanks a lot.
@hansford77, glad it’s all working for you.
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.
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.
That filter hook in the gist should only fire on a calendar page. What does the blog look like when gist is active?