tribe-events-sub-nav is gone

Home Forums Calendar Products Events Calendar PRO tribe-events-sub-nav is gone

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1591633
    gdpr20190717
    Participant

    Hi,
    im referring to this thread:

    Month View | current Month and Year centered in Footer

    It was all good, but yesterday i manupilated the event single view so that the next and last event isnt shown anymore.
    i simply reduced the Font size with css hero to “0”, today i looked at the calender itself and the “next month” and “last month” i added thru the tread above is gone ๐Ÿ™
    I tried to select and increase the size again, but it always select the actual month text. The Function is still thereif you click there but no Text.
    a Idea how to reset without a whole backup restore?

    Arne

    #1591765
    gdpr20190717
    Participant

    wth, self with a full restore its not showing up anymore ๐Ÿ™

    #1591808
    gdpr20190717
    Participant

    Got it back with CSS Hero History ๐Ÿ™‚

    Now i check the Forum for a snippet to not show pref and next event in single view, thought i saw it sometimes….

    #1592692
    Jeremy
    Keymaster

    Hi rols733,

    Thanks for reaching out to us! I’d be happy to help you ๐Ÿ™‚

    You would like to hide the prev/next navigation in the single event view, right? Then you might add the following css snippet in Appearance > Customize > Additional CSS:

    .single-tribe_events #tribe-events-footer {
      display: none;
    }

    I hope this helps.

    Cheers,
    Jeremy

    #1592708
    gdpr20190717
    Participant

    Hi Jeremy,

    thanks for the Reply.

    yesterday we decide to show a Standard text like “next Event” instead of the Event Name.
    i tried it with this:

    .single-tribe_events #tribe-events-nav-next {
    display: “next event”!important;
    }

    .single-tribe_events #tribe-events-nav-previous {
    display: “prev. event”!important;
    }

    but it doesnt work. is there a trick to show text with CSS?
    btw. im using Avada if it matters.

    #1592863
    Jeremy
    Keymaster

    Hi rols733,

    Ok, I understood what you’re trying to achieve. Well, that actually couldn’t be done via css. You would need to customize our template files. In order to do so, you would need to edit, in your theme (after creating a new folder here calledย /tribe-events), the file located atย /wp-content/plugins/the-events-calendar/src/views/single-event.php.

    Once you’re ready to edit this template, look for the following php functions:

    <?php tribe_the_prev_event_link( '<span>&laquo;</span> %title%' ) ?>

    and

    <?php tribe_the_next_event_link( '%title% <span>&raquo;</span>' ) ?>

    Inside those functions, instead of %title%, you can write previous event in the first one and next event in the second one.

    Please read our Themer’s Guide before doing anything.

    I hope this helps,

    Cheers,
    Jeremy

     

    #1592873
    gdpr20190717
    Participant

    Hi,

    i did everything but nothing changed.

    btw. i opened a new thread in this Forum because of the featured image in single view:
    https://wordpress.org/support/topic/remove-featured-image-from-events/
    and theres a simmilar problem.

    ROLS

    #1593533
    Jeremy
    Keymaster

    Hi Rols,

    Did you override the template I told you in your own theme by creating a file at [your-theme]/tribe-events/single-event.php?

    Please tell me if something is not clear in my previous message’s explanations.

    Have a nice day,
    Jeremy

    #1595871
    gdpr20190717
    Participant

    ist working now. i was just in the wrong lines *facepalm*

    #1596125
    Barry
    Member

    Happy to hear you’re all set! I’ll go ahead and close this topic, but please don’t hesitate to post new ones if we might be able to help with any other questions ๐Ÿ™‚

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘tribe-events-sub-nav is gone’ is closed to new replies.