Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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.
    Thx

    #1415217

    Hey 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,
    Mike

    #1415270

    Thanks 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?

    #1415272

    Hi,
    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,
    Mike

    #1415274

    I 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

    #1415286

    Hi,
    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,
    Mike

    #1415331

    I 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/

    #1415350

    Hi,
    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 Translations

    Best regards,
    Mike

    #1415357

    Hi 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
    Georg

    #1415375

    Hi,
    Ok, I can probably change it, so as I understand you want Kostenlos
    Enfold_Support_2806.jpeg
    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.
    Enfold_Support_2808.jpeg
    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,
    Mike

    #1415400

    Hello 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 either

    I 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
    Georg

    #1415422

    Hi,
    Ok, please tell me what you want the strings to be changed to.

    Best regards,
    Mike

    #1415440

    Hi

    I solved the problem thank you for your help.

    Regards
    Georg

    #1415442

    Hi,
    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

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘The events calender and merged css’ is closed to new replies.