Hide Event Image on Single Event Page

Home Forums Calendar Products Events Calendar PRO Hide Event Image on Single Event Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1579156
    ksministries
    Participant

    Hello we found plenty of options to Hide Event Image on Single Event Page but we have not been able to figure out how to limit it to just certain event pages and not all. We would like to be able to hide the event featured image only from certain event pages. Here is the code we found that works for hiding featured image on EVERY event page. Thank you

    /* Hide Event Image Single Event Page */
    .single-tribe_events .tribe-events-event-image {
    display: none;
    }

    Using Featured Images in Events

    #1579609
    Cliff
    Member

    Hi. Are there just a couple or a lot of events to hide the featured image for? In the future, will you continue adding new events for which the featured image should be hidden?

    #1579618
    ksministries
    Participant

    Hi and thank you for the reply. I went on and ended up hiding all the featured images with the above code just to have consistency rather than just hiding those that had tickets connected to them. The goal here was to give the user immediate access to the ticket form upon landing on the single event page. I tried for days using the templates to place the ticket form above the featured image but when I could not figure that out I went with this option which was removing all the featured images. Would there be a way to keep the featured image and still get the form to sit above it? Unfortunately that was not one of there options either in the settings area. Thank you again.

    #1580369
    Cliff
    Member

    Thanks for explaining. Please referenceĀ https://theeventscalendar.com/knowledgebase/moving-rsvp-ticket-forms/

    If that doesn’t work for you, you could use one or both of these filters:

    • tribe_tickets_rsvp_tickets_form_hook
    • tribe_tickets_commerce_tickets_form_hook

    They are located inĀ https://github.com/moderntribe/event-tickets/blob/4.7.5.1/src/Tribe/Tickets.php#L2070-L2095

    Please reference https://theeventscalendar.com/tips-working-wordpress-actions-filters/ if you are not sure how to get started with WordPress action and/or filter hooks.

    Please let me know how this goes for you.

    #1595405
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hide Event Image on Single Event Page’ is closed to new replies.