Andy Fragen

Forum Replies Created

Viewing 15 posts - 211 through 225 (of 529 total)
  • Author
    Posts
  • in reply to: Themer’s Guide has no CSS info or instructions #55941
    Andy Fragen
    Moderator

    You’re welcome Karen. It’s in my nature to apply the KISS principle to most things.

    in reply to: Themer’s Guide has no CSS info or instructions #55702
    Andy Fragen
    Moderator

    karen/Cynthia, why do you want to move a default css file to {YOUR_THEME}/tribe-events/ folder. What you should do is just create a new tribe-events.css file in this new folder and simply add your CSS overrides to it. You don’t need to override the entire file and I would guess that this is probably not a good idea in general as any changes that Modern Tribe makes to these defaults would then not be used. It also defeats the whole concept of cascading in CSS.

    In almost every case, I would think best case usage would be to only make your specific changes to an override file. There’s no point in duplication. The benefit is that you really don’t need to know where the default css files are located. All you need is to figure out the selector that you wish to change.

    Creating a {YOUR_THEME}/tribe-events/tribe-events.css file shouldn’t be sufficiently different than putting any overrides in your theme’s style.css, it just serves to abstract the overrides in case you change themes later.

    If there’s something specific you want to change perhaps we can help further.

    in reply to: Ajax not working #54403
    Andy Fragen
    Moderator

    @Genesis – you don’t happen to have WP_DEBUG set to true?

    in reply to: Events Calendar 3.0 Not Working with Theme #54330
    Andy Fragen
    Moderator

    But to what end? It won’t be significantly faster and using wp_enqueue_style is the correct way of loading CSS.

    If your adding all the CSS to your theme style.css you can run into an issue if the plugin CSS ever changes.

    in reply to: Events Calendar 3.0 Not Working with Theme #54323
    Andy Fragen
    Moderator

    Well, Modern Tribe loads what they consider “necessary” CSS files based upon the user’s settings. I guess I’m not really sure what you’re trying to accomplish by dequeuing the plugin’s CSS and enqueuing it in your theme.

    in reply to: Events Calendar 3.0 Not Working with Theme #54321
    Andy Fragen
    Moderator

    Didn’t this answer the dequeue question?

    Events Calendar 3.0 Not Working with Theme

    No apologies needed.

    in reply to: Next/Previous Month Links Do Not Work With Category #54320
    Andy Fragen
    Moderator

    Jonah, Just for fun you could try The Events Calendar Category Colors and in particular see how Legend Superpowers works.

    in reply to: Events Calendar 3.0 Not Working with Theme #54313
    Andy Fragen
    Moderator

    Actually, it seems to automatically load after the TEC CSS but before the TEC Pro CSS

    in reply to: Events Calendar 3.0 Not Working with Theme #54310
    Andy Fragen
    Moderator

    Yes, but while the tribe-events.css is loaded automatically, you will notice it is loaded ahead of the standard plugin CSS and not after it. Because of this the overrides won’t be seen. Simple to test, just deactivate the plugin.

    in reply to: Events Calendar 3.0 Not Working with Theme #54305
    Andy Fragen
    Moderator

    Bryan, I’m not so sure dequeuing them all and enqueuing them in your theme is a good idea, but if you want to, the dequeue ID doesn’t include the final ‘-css’. That bit is added by WordPress.

    The proper code would be wp_dequeue_style( ‘full-calendar-style’ );

    in reply to: Events Calendar 3.0 Not Working with Theme #54230
    Andy Fragen
    Moderator

    Bryan/Cynthia,

    If you want to include CSS overrides I would suggest the following solution. Put all overrides in /tribe-events/tribe-events.css. Install and activate The Events Calendar User CSS plugin. Currently TEC 3.0 will automatically load the CSS from the new location, the problem is, by default, it loads the CSS before, not after, the default CSS. This is going to be corrected in a future update. Until that time, the User CSS plugin fixes this problem.

    in reply to: Overriding the plugin’s CSS #53998
    Andy Fragen
    Moderator

    swissvegan, I believe there’s an issue with the load order of the tribe-events.css

    You can fix this by installing The Events Calendar User CSS plugin. Let me know if that solves your issue.

    in reply to: CSS in v3 is incomprehensible #53937
    Andy Fragen
    Moderator

    dahowlett – Oops, I just discovered that while TEC 3.0 does automatically load your override CSS if your have it located in the {YOUR_THEME}/tribe-events/tribe-events.css it loads it before the default CSS and not after. Therefore, none of your overrides will work.

    I’ve adapted The Events Calendar User CSS to fix this and load the override CSS in at the end. Please update to version 0.9 and let us know if it works.

    in reply to: Overriding the plugin’s CSS #53821
    Andy Fragen
    Moderator

    swissvegan, if you could provide some additional info, URL, what default style item is and what your override is, that would help.

    in reply to: CSS in v3 is incomprehensible #53714
    Andy Fragen
    Moderator

    Barry, is correct. The Events Calendar User CSS is no longer required for TEC 3.0 as long as you’ve changed the override CSS to be in {YOUR_THEME/tribe-events/tribe-events.css

Viewing 15 posts - 211 through 225 (of 529 total)