Updates overwrite customization – how to keep it?

Home Forums Calendar Products Events Calendar PRO Updates overwrite customization – how to keep it?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1061124
    Darryl
    Participant

    Hi,

    Updates to Event Calendar/Event Calendar Pro overwrite any customizations I’ve made in the tribe-events-theme.min.css file. So I have to go back and redo them.

    Is there a way to keep these customizations (i.e., color choices)?

    Thanks,

    Darryl

    #1061894
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    Edits should never be made to any plugin in the plugin directory as they will be overwritten on updates.

    To safely add css or modify our templates please follow our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    That will show you how to move a template or create css file in your child theme to make changes there.

    Let me know if you have any follow up questions.

    Thanks

    #1061953
    Darryl
    Participant

    Ok, so I created a new folder “tribe-events” under my custom theme: /wp-content/themes/OTTAS

    I also copied the file /wp-content/plugins/the-events-calendar/src/views/default-template.php to that new folder.

    The file I always need to update when Event Calendar updates come out is:
    /public_html/wp-content/plugins/the-events-calendar/src/resources/css/tribe-events-theme.min.css

    So I copied that file to a new file “tribe-events.css” also under the new “tribe-events” folder.

    If I change the Events -> Settings -> Display -> ‘Default stylesheet used for events templates’ to “Skeleton Styles”, will only my custom css: /wp-content/themes/OTTAS/tribe-events/tribe-events.css be loaded?

    #1062062
    Darryl
    Participant

    I believe my issue is resolved.

    One change I did make was to set Events -> Settings -> Display to “Full Styles”. This seems to maintain the look and feel as before, but with the bonus of picking up my custom stylesheet instead of using the default.

    I tested it by modifying my custom stylesheet (tribe-events.css) under the new tribe-events folder under my theme and the changes did appear.

    Thanks for the help,

    Darryl

    #1062119
    Brian
    Member

    I am glad to see you were able to figure it out. That should protect your changes now.

    I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Updates overwrite customization – how to keep it?’ is closed to new replies.