Hiding The .tribe-events-nav-previous on single event only

Home Forums Calendar Products Events Calendar PRO Hiding The .tribe-events-nav-previous on single event only

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #59874
    burntcorkmedia
    Participant

    Thank you for making my life a hundred times easier! Simple question. I will like to hide “.tribe-events-nav-previous” on the single event page only. I tried to do so (and sucessfully) by adding ” .tribe-events-nav-previous { display:none !important; }”. However, it removes the previous nav on the calendar page which I would like to keep.

    Thank you for your kind assistance

    #59952
    Barry
    Member

    Hi burntcorkmedia,

    You could override and edit the single-event.php template and simply remove the following line:

    <li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '« %title%' ) ?></li>

    Please see our Themer’s Guide for an overview of the template override process if you haven’t already done so – thanks!

    #60110
    burntcorkmedia
    Participant

    Thanks – perfect!

    #60139
    Barry
    Member

    Great!

    #980092
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hiding The .tribe-events-nav-previous on single event only’ is closed to new replies.