Support » Plugin: The Events Calendar » [Plugin: The Events Calendar] CSS override not being applied

Viewing 5 replies - 1 through 5 (of 5 total)
  • No other steps necessary to activate. I’ve confirmed this as a bug with all versions of the calendar with multisite enabled. We’re looking at it, but it’s not promising because I found a WP function that is not behaving properly with multisite on, so this could be a WP bug.

    I think I’ll have time to figure out and post a temporary fix here later today, but it will most likely not be included in the next version, so it will be a hack in the true sense (you would have to hack the plugin again every time you update).

    Justin

    If you’re interested in hacking it, I didn’t have time to confirm anything, but here are two suggestions:
    – find the function loadDomainStylesScripts in the-events-calendar.class.php
    1. Try changing the if statement header from

    if( file_exists( TEMPLATEPATH.'/events/events.css' ) ) {

    to

    if( true ) { //HACKED

    2. If that does not work, leave it that way, but try some different paths in the function that loads the stylesheet. To do this, try some paths in the second argument to the first occurrence of wp_enqueue_style. The path needs to lead to your custom file.

    Hope this helps.

    Justin

    I’m eager to see if this worked for him.

    Thread Starter Jay Collier

    (@jcollier)

    I’m working with so many plugins right now, that I’m not hacking any of them. I’ll wait until the bug is resolved.

    Also, I had an interesting error where I renamed the “events” category to “happenings” and the entire site went to white screen, front and back-end.

    This may or may not be the same bug but it came up in my search results. This was the solution I found:
    http://wordpress.org/support/topic/plugin-the-events-calendar-override-eventscss?replies=2#post-1843267

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: The Events Calendar] CSS override not being applied’ is closed to new replies.