Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #763398

    Hi everybody!

    I am using Enfold and The Events Calendar (both in its most recent version). So far, I modified settings and files for The Events Calendar directly in the main theme “config-events-calendar” folder
    /wp-content/themes/enfold/config-events-calendar/event-mod.css
    /wp-content/themes/enfold/config-events-calendar/views/single-event.php
    and the “tribe-events” folder
    /wp-content/themes/enfold/tribe-events/modules/meta/details.php
    /wp-content/themes/enfold/tribe-events/pro/modules/meta/additional-fields-php

    Now, I have switched to using the Enfold Child Theme, imported all settings from the parent theme and tried to re-add the necessary modifications for The Events Calendars.
    – Copying the “tribe-events” folder into the child themes folder worked fine
    – Copying the “config-events-calendaer” folder into the child themes folder DID NOT

    I’ve found a solution for the modification of the single-event.php file (see https://kriesi.at/support/topic/enfold-and-tribe-events-calendar/#post-691070), but can not get the changes in event-mod.css to work. Whereever I put it within the child theme folder, it seems not to get read.

    I would appreciate any suggestions. Thanks in advance, Michael

    #763779

    I am also looking for how to do this.

    #764858

    Hi,

    You should be able to place the CSS in the Quick CSS field. Perhaps you need to use the !important override like so.

    a { color: red !important; }

    Best regards,
    Andy

    #767313

    Hi Andy,

    thanks for your fast response! It worked with the Quick CSS field!

    However, it does not seem to be a “super proper” solution. Could you elaborate a bit more, why overriding /wp-content/themes/enfold/config-events-calendar/event-mod.css in the child theme does not work?

    Thanks in advance
    Michael

    #767616

    Hi,

    hm I think it should work. Make sure that you are using your child theme correctly, so make sure that you’re using the exact same folders as in the original inside your child theme (/config-events-calendar/event-mod.css).

    Best regards,
    Andy

    #886236

    Hi,
    I’m looking for a solution for a similar problem. I want edit the single-event.php for Event Calendar. It’s originally located in the folder:
    /wp-content/themes/enfold/config-events-calendar/views/single-event.php
    Changes to this file is reflected in my event.

    I guess I can’t modify the file in the original path without loosing changes when I update. So I would like to move it the child theme. Is it correct to move it to:
    /wp-content/themes/enfold-child/config-events-calendar/views/single-event.php

    Changes here are not visible. What have I done wrong? I use the same structure, and also tried with copying all the files in config-events-calendar folder.

    #886593

    Hi lipstick,

    There is a comment at the top of the file from the plugin author, you can create the file in your theme as it says in the comment. Have you tired that?
    Image 2017-12-08 at 20.03.04.png

    Best regards,
    Victoria

    #886623

    Hi,

    Thanks, but I have tried that.

    Best regards,
    Roger

    #886764

    Hi Roger,

    Here are some threads to consider:

    Loading events calendar files in childtheme

    https://theeventscalendar.com/support/forums/topic/single-event-php-not-overriding-in-child-theme/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #887354

    Hi lipstick!

    Your “single-event.php” in the child theme shoud be located in:
    /wp-content/themes/your-child-theme-name/tribe-events/views/single-event.php

    At least, that is, where I put it, and the changes are reflected :-)

    Best regards, fjaellbaeck

    • This reply was modified 6 years, 11 months ago by fjaellbaeck.
    #887428

    Hi fjaellbaeck,

    Thanks for the insight!


    @lipstick
    Have you tried that?

    Best regards,
    Victoria

    #887474

    Hi @Victoria and @fjaellbaeck

    Thanks for helping me out. I have checked all these links. One of them leads to the one that breaks the design. I have already tried this, and that’s no option I’m afraid. I will try to seek a good solution, but I’m starting to prepare that there’s no solution. At least not in this low budget website I am working on here. I’ll try to convince my customer to keep most of the original template and don’t move any parts around – and then avoid this problem.

    Seems like Enfold has created a problem for themselves here and made modifications to Event Calendar templates very difficult. Just for testing I switched to TwentySomething and all changes were visible.

    Thanks for your answers!

    Best regards,
    Roger

    • This reply was modified 6 years, 11 months ago by lipstick.
    #887487

    Hi Roger,

    Thank you for the feedback. That’s really weird, it should work as stated.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #895254

    Hi, I’m facing the exact same problem as lipstick.

    Here is the event detail page:

    It’s going through /enfold/config-events-calendar/views/single-event.php
    How can I override this in my enfold-child theme?

    As already stated by lipstip the following approaches don’t work
    /enfold-child/tribe-events/single-event.php
    /enfold-child/tribe-events/views/single-event.php
    /enfold-child/config-events-calendar/single-event.php
    /enfold-child/config-events-calendar/views/single-event.php

    As pointed out on the event calendar forum it’s only a problem with enfold.
    https://theeventscalendar.com/support/forums/topic/single-event-php-not-overriding-in-child-theme/

    #895272

    I’m sorry, I found the solution in the first post.

    Enfold and Tribe Events Calendar

    #895532

    Hi,

    Great, glad you found a solution and thanks for sharing :-)

    Best regards,
    Rikard

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.