-
AuthorPosts
-
March 20, 2017 at 1:03 am #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-phpNow, 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 NOTI’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
March 20, 2017 at 8:35 pm #763779I am also looking for how to do this.
March 22, 2017 at 4:37 pm #764858Hi,
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,
AndyMarch 27, 2017 at 10:54 am #767313Hi 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
MichaelMarch 27, 2017 at 6:39 pm #767616Hi,
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,
AndyDecember 7, 2017 at 10:35 pm #886236Hi,
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.phpChanges 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.
December 8, 2017 at 8:03 pm #886593December 8, 2017 at 9:24 pm #886623Hi,
Thanks, but I have tried that.
Best regards,
RogerDecember 9, 2017 at 11:11 am #886764Hi Roger,
Here are some threads to consider:
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,
VictoriaDecember 11, 2017 at 12:50 pm #887354Hi 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.phpAt least, that is, where I put it, and the changes are reflected :-)
Best regards, fjaellbaeck
- This reply was modified 7 years ago by fjaellbaeck.
December 11, 2017 at 2:48 pm #887428December 11, 2017 at 3:59 pm #887474Hi @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 7 years ago by lipstick.
December 11, 2017 at 4:24 pm #887487Hi 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,
VictoriaJanuary 9, 2018 at 2:41 pm #895254Hi, 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.phpAs 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/January 9, 2018 at 3:39 pm #895272I’m sorry, I found the solution in the first post.
January 10, 2018 at 7:14 am #895532 -
AuthorPosts
- You must be logged in to reply to this topic.