The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

The Events Calendar User CSS
[resolved] .../events/events.css not being created (4 posts)

  1. pnething
    Posted 4 years ago #

    Hi Andy,

    I'm looking forward to using your plugin. Unfortunately, the installation doesn't work for me. After activating the plugin, I'm browsing to my \theme\my-childtheme folder, but the Events folder wouldn't show up. It looks to me that the additional files are simply not being created automatically the way they should. Any idea, what the reason could be?

    Thanks so much!


  2. Andy Fragen
    Plugin Author

    Posted 4 years ago #

    pnething, I think you misunderstand what the plugin does, or I haven't made it explicitly clear.

    In order to override and customize The Events Calendar, there is a builtin facility described in Themer's Guide for The Events Calendar. The user needs to create their own events folder inside of their active theme folder. Within this folder a file called events.css can be created to contain override CSS code.

    This plugin allows for only the custom code to be inside of this file, whereas the official instructions say to copy all the code from the core file into this new file. My plugin just makes this process more efficient by leaving all the core CSS in place and only have your overrides in this file.

  3. pnething
    Posted 4 years ago #

    I apologize for the confusion, Andy. Obviously my fault. I now understand how the plugin works. And it really does work in my case, as I just tried. It's a fantastic plugin.

    To my final and hopefully complete understanding: The plugin does nothing else than basically including the function:

    @import url("http://yoursite.com/wp-content/plugins/the-events-calendar/resources/events.css");

    Is that correct?

  4. Andy Fragen
    Plugin Author

    Posted 4 years ago #

    Sort of. What the plugin does is create a dynamic CSS file that adds 2 @import commands.

    The first is an @import for the core CSS file and the second is an @import of your override CSS file.

    It also removes the link stylesheet tag that TEC or Community Events plugin wants to put in that would under ordinary circumstances load either the core CSS or your override CSS. This is so no duplication or confusion exists.

    Make sense?

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic


No tags yet.