The Events Calendar User CSS plugin

Home Forums Calendar Products Events Calendar PRO The Events Calendar User CSS plugin

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #22816
    Andy Fragen
    Moderator

    OK, so I’m trying to make it simpler to use a smaller CSS override file with The Events Calendar. You know the one you put in your /my-theme/events/events.css.

    What this plugin does is allow you to only have the changes in your files. It will automatically load the default events.css and then load your overrides. This means you don’t have to duplicate anything your file. It should work with both The Events Calendar and the Community Events add-on.

    You can get it at http://wordpress.org/extend/plugins/the-events-calendar-user-css/

    #22851
    Rob
    Member

    This is awesome, Andy! Thanks for sharing…this should be of some real value to folks. I’ve asked Paul to take a quick look and make sure he doesn’t see anything that could pose conflicts with the next build we’ve got in the works. Once I get word from him that we’re A-OK here I’ll make this thread sticky so others can see it easily.

    Also planning on doing a nice writeup of you / your work here on the tri.be site once some of the other issues die down. As both Joyce and Jonah (2/3 of the support team) are out for the time being, I’m handling support pretty much singlehandedly and will probably need to wait until I have some backup on that end before I can jump back into feature post writing.

    #22867
    Andy Fragen
    Moderator

    Actually Rob, if Paul gets some ideas from it feel free to roll it into 2.1 or later. I wrote it cause I thought it would make instructions regarding CSS overrides simpler, but it’s really something that should be baked in. Proper attribution greatly fully accepted. 😉

    #23602
    Gerald
    Participant

    Awesome. This promises to be a terrific plugin for us! Thank you so much, Andy. Before we start testing and implementing, I would love to wait for Rob’s reply based on your recent discussion. Looking forward to it.

    #23613
    Andy Fragen
    Moderator

    Phillipp, really the plugin will either work or not. If it doesn’t I’d really like your help in figuring out why and to make it work. Remember, the idea behind it is that you don’t need to replicate the content of /the-events-calendar/resources/events.css in your overrides events.css file. I have it working for me on a couple of sites but I’m not using Community Events and I’d love to know if it’s working there as well.

    If it doesn’t work for you all you really have to do is deactivate the plugin and add the following to the top of your events.css file.

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

    And it should all work again. Let me know if you have any issues.

    #23693
    Rob
    Member

    Hey Philipp: you should definitely go ahead and give Andy’s tool a shot. Our devs have been providing some feedback along the way but if it looks like it’d accomplish what you’re going for, there certainly aren’t any risks with the code or issues you need to be concerned about in that capacity. And as you can see, Andy is responsive in providing answers if you have questions or problems along the way.

    #23857
    Gerald
    Participant

    Hi Andy/Rob,

    Appreciate your replies. I am looking forward using the plugin. In fact, I am trying to install it, but for some reason, I encounter a problem in the installation process. I posted my question on the WordPress Plugin support site.

    Andy, I’m not yet using the community events plugin, but chances are good that I will be using it in the near future. When I do so, I will be most happy to provide feedback to you in terms of how your plugin works with that.

    #23859
    Andy Fragen
    Moderator

    Phillip,

    I’ve made the same response in the plugin support site. It’s probably better to keep this part of the thread over there. 😉

    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.

    #23973
    Gerald
    Participant

    Sure, Andy, let’s follow-up over there. In fact, we can can close the issue, since now I understand, what the plugin does – and it works! Fantastic.

    #23980
    Andy Fragen
    Moderator

    Excellent!

    #24052
    Andy Fragen
    Moderator

    @Rob, I just installed the Community Events plugin and discovered that it handles custom CSS exactly as it should. There are enqueue commands for both the default CSS and if an override CSS file exists then an enqueue command for that CSS file is also issued.

    I didn’t look to see how this was accomplished but I would recommend this method be incorporated into TEC. I would love to EOL this plugin. 😉

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘The Events Calendar User CSS plugin’ is closed to new replies.