remove the end time from an event under the DETAILS section

Home Forums Calendar Products Events Calendar PRO remove the end time from an event under the DETAILS section

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #952899
    James O’Sullivan
    Participant

    Hi there, I have followed this thread here in order to remove the end times from the calendar: https://theeventscalendar.com/support/forums/topic%2Fhow-to-remove-end-time-from-all-references-of-an-event/?source=tri.be The snippet in that thread worked fine however it did not remove the end time under the DETAILS section when the user is viewing the single event page. The DETAILS section appears right next to the VENUE section. Is there any thing that can be added to that snippet to remove the end time here also? Thanks in advance

    #953017
    Zach Tirrell
    Keymaster

    Hi James,

    You are correct, you will need a different approach for hiding this end date. I think the easiest way would be with CSS. You can do something along these lines:

    [code language=”css”].tribe-events-meta-group-details dl dt:nth-of-type(2),
    .tribe-events-meta-group-details dl dd:nth-of-type(2) {
    display: none;
    }[/code]

    Let us know if that works for you!

    #953103
    James O’Sullivan
    Participant

    Thanks for following up with this Zach, unfortunately this css hides the entire time area here and not just the end time. I would like to continue to show the start time in this details area. Maybe this css can be tweaked here somehow? Any help would be much appreciated. Thanks

    #953142
    Zach Tirrell
    Keymaster

    That CSS should only hide the end time label and the data itself, not the start time. At least that’s what it did on my instance running the Twenty Fifteen theme.

    If you provide me a link to your site I can see if there is a small tweak I can suggest.

    #956095
    Zach Tirrell
    Keymaster

    It has been a while since the last time that I heard back from you so I hope that means you got it figured out without me! 🙂 I am going to go ahead and close this thread, but if you have any further questions, don’t hesitate to open a new one!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘remove the end time from an event under the DETAILS section’ is closed to new replies.