• Nizuya

    (@nizuya)


    I need to edit the css for this in order for it to work with my theme. I would like to make use of the template overrides so that if I ever update the plugin I don’t have to redo anything. On the plugin site it only mentions 4 files that can be used to override the default template. Am I limited to these 4 file for customization or is there someway to override the default css?

    Thanks,
    David

    http://wordpress.org/extend/plugins/the-events-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • steve-weblin

    (@steve-weblin)

    Have you looked in the events.css file inside the resources folder in the “the-events-calender” plugins folder in wp-content.

    Thread Starter Nizuya

    (@nizuya)

    Well I know where the default file is but I want to override that so I don’t have to edit it. It may not be possible, but that’s why I’m asking.

    steve-weblin

    (@steve-weblin)

    You could put your css in another css file then.

    In your theme css file, style.css? Or in a separate css file and link that into either your theme css file or events.css.

    Thread Starter Nizuya

    (@nizuya)

    Well my whole purpose was to try not to edit any of the default install files and modify the theme using the overrides only but it seems that the plugin isn’t quite to that point yet.
    I’ll just have to edit the install files and worry about upgrading when the time comes.

    Thanks though.

    Samutz

    (@samutz)

    What I did was copy events.css to my theme’s folder, then added this after <?php wp_head(); ?>

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/events.css" type="text/css" media="screen" />

    It’s a little bit of a waste of resources because you’re loading the original css first, then loading the override one. But you don’t have to edit the original this way.

    Edit: Also make sure you copy the images to your theme folder, or fix the paths in your override css to point to them.

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