The Events Calendar
CSS override not being applied (6 posts)

  1. Jay Collier
    Posted 5 years ago #

    I've added an events.css override in my theme/events/events.css folder, but it is not being applied.

    Is there something else I need to do to activate?

    I'm using WP3.01 multisite. Other than this, love the plugin.


  2. justinendler
    Posted 5 years ago #

    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).


  3. justinendler
    Posted 5 years ago #

    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' ) ) {


    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.


  4. Craig S. Kiessling
    Posted 5 years ago #

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

  5. Jay Collier
    Posted 5 years ago #

    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.

  6. monodistortion
    Posted 5 years ago #

    This may or may not be the same bug but it came up in my search results. This was the solution I found:

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic