-
AuthorPosts
-
August 1, 2023 at 10:51 am #1415129
I use events calender pro and need to change some css. I noticed that enfold merges some css files and stores them under wp-content/uploads/dynamic_avia/avia_merged_styles with some cryptic name. I do not know when these file are being created and what files are being merged. Where can I add my own css? I need some padding in the content-area of single events.
ThxAugust 2, 2023 at 1:10 am #1415217Hey georgbiel,
The files that you are referring to are created by the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression which is all of the css for your site combined. You would not want to edit these files or any other css files manually as you would lose your customization each time you update the theme.
If you want to add some padding to your content-area of single events add your css to the Enfold Theme Options ▸ General Styling ▸ Quick CSS field.Best regards,
MikeAugust 2, 2023 at 5:31 pm #1415270Thanks very much, this works. One additional question, where can I edit the template. I need some changes in the single-events view and I would like to change some headings. For example (in German) In single view I find the heading “Eintritt” and then “Kostenlos” – I’d like to change that. Any idea how to do it?
August 2, 2023 at 5:53 pm #1415272Hi,
I would not recommend editing the template directly as it will be lost when you update in the future, please link to your page with the headings that you want to change and we can help with some code you can add to your child theme or a plugin like WPCode, that supports PHP code snippets, JavaScript code snippets, & CSS code snippets so your customizations won’t be lost in the future.
Perhaps adding a screenshot of your desired changes would help us.Best regards,
MikeAugust 2, 2023 at 6:08 pm #1415274I uploaded https://img.savvyify.com/images/2023/08/02/Screenshot-2023-08-02-180358.png
Here you find the heading „Eintritt” and below “Kostenlos” – these strings I’d like to chance. By the way, my website has some kind of heading on detail-pages. I’d like to add this heading to the single-event-page. If you happen to know how … ;-) Thank you again
August 2, 2023 at 10:02 pm #1415286Hi,
What do you want the Eintritt to be? Isn’t Kostenlos a value in the backend that you can change?
Please link to your page so we can examine.
What is the heading on the detail-pages that you want on the the single-event-page, please include links to these pages also.Best regards,
MikeAugust 3, 2023 at 1:03 pm #1415331I think I would only need to change the trnslation. There seem to be 2 “words” – FREE and free – both are translates “kostenlos” one capitalised. Where would I find these translation-files and how are they named. I think changing the translation would solve my problem. (I hope). Here’s the link: https://staging.stellacanis.de/event/charity-trail/
August 3, 2023 at 5:01 pm #1415350Hi,
The translation files are in enfold/lang/ you can modify the files with Poedit and then add your customized files to your child theme, see our documentation: Child Theme TranslationsBest regards,
MikeAugust 3, 2023 at 6:04 pm #1415357Hi Mike,
thx but I does not work – the translations for “FREE” (capitalised) and “free” are nowhere to be found in that file. There must be a translation already and the only thing I want to do is change this translation.
Thank you anyway – I’ll find a solution somehow ;-)
Regards
GeorgAugust 3, 2023 at 10:34 pm #1415375Hi,
Ok, I can probably change it, so as I understand you want Kostenlos
to be lowercase, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:.tribe-events-event-cost { text-transform: lowercase; }
After applying the css, please clear your browser cache and check.
Earlier you wrote that you wanted to change Eintritt but you didn’t say to what and I don’t see it on the page you linked to, is it on a different page?Best regards,
MikeAugust 4, 2023 at 10:03 am #1415400Hello Mike,
thank you very much. I did not make myself clear. I want to change the string “kostenlos” completely. Not in uppecase or lowercase but a complete different string.
I’ve tried Loco translate – didn’t work
Sy wat dodn’t work eitherI got another idea – I found the code where it is set:
<dt class=”tribe-events-event-cost-label”> Preis: </dt>
<dd class=”tribe-events-event-cost”> Kostenlos </dd>In single-event.php I found this:
if ( ! apply_filters( ‘tribe_events_single_event_meta_legacy_mode’, false ) )
{
tribe_get_template_part( ‘modules/meta’ );
}
else
{
echo tribe_events_single_event_meta();
}I was thinking perhaps I could simply change the coding in tribe_events_single_event_meta() but where do I find this function?
I don’t need a price at all you know.
Regards
GeorgAugust 4, 2023 at 12:44 pm #1415422August 4, 2023 at 5:40 pm #1415440Hi
I solved the problem thank you for your help.
Regards
GeorgAugust 4, 2023 at 5:53 pm #1415442Hi,
Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘The events calender and merged css’ is closed to new replies.