Full-width List Event Featured Image

Home Forums Calendar Products Events Calendar PRO Full-width List Event Featured Image

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1200128
    Matt
    Participant

    Hi,
    I’m using Events Calendar PRO in order to list events being done by our company, and I was wondering whether there’s a more efficient way to change the featured images on the List view of the events to be full-width? At the moment, we’ve changed line 70 on “views/single-event.php” to tribe_event_featured_image( null, “large”) and added a CSS style on .tribe-events-event-image div to make it width: 100%. Would there be a better way to do this so that it doesn’t get overwritten when we update the plugin? Thanks!

    #1200601
    Geoff B.
    Member

    Good evening Matt and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    Actually, there is. You can do exactly what you did in the context of a template override.

    You might want to read our Themer’s guide to get a sense of how that works.

    Basically, you need to copy these edited files in the correct file path inside the /tribe-events/ folder of your theme/child-theme.

    This will prevent the customizations from being overwritten.

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1210043
    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 ‘Full-width List Event Featured Image’ is closed to new replies.