Problems with customizing a template file

Home Forums Calendar Products Community Events Problems with customizing a template file

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1152307
    Jorge
    Participant

    Hi
    According to your knowledgebase, all I have to do to customize a template file is to copy it to my theme. Now I want to customize following template: “map/single-event.php” (events calendar pro). Therefore I made a copy of this file located at /wp-content/plugins/events-calendar-pro/src/views/map/single-event.php and copied it as following:
    wp-content/themes/Avada-Child-Theme/tribe-events/pro/map/single-event.php.

    Now as soon as I copy the file into my theme (without making any modifications!), the overview looks totally different (please see the attachment). Do I have to copy or to change anything else to get the same look as it is without putting the template in my theme?

    Thanks for your support!

    Regards, Jorge

    #1152409
    Geoff B.
    Member

    Good evening Jorge and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear about the issues you have encountered while customizing our template files.
    I would love to help you with this topic.

    You are right, in most cases, it’s a simple matter of copying the view template files over to the /tribe-events/ folder of your child theme.
    In your case however, because you are using the Avada theme, the procedure for template customization is slightly different.

    You see, Avada already includes a template customization for that very view. This is why your customization looks so different.

    I would recommend heading over to /wp-content/themes/Avada/tribe-events/pro/map/ and copying the single-event.php from there over to your child theme as a basis for your customization.

    Normally, this should fix the display.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1161042
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Problems with customizing a template file’ is closed to new replies.