Home › Forums › Calendar Products › Events Calendar PRO › tribe-events-sub-nav is gone
- This topic has 9 replies, 3 voices, and was last updated 7 years, 8 months ago by
gdpr20190717.
-
AuthorPosts
-
August 7, 2018 at 1:36 am #1591633
gdpr20190717
ParticipantHi,
im referring to this thread: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
August 7, 2018 at 5:41 am #1591765gdpr20190717
Participantwth, self with a full restore its not showing up anymore ๐
August 7, 2018 at 6:18 am #1591808gdpr20190717
ParticipantGot 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….
August 8, 2018 at 1:42 am #1592692Jeremy
KeymasterHi 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,
JeremyAugust 8, 2018 at 2:30 am #1592708gdpr20190717
ParticipantHi 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.August 8, 2018 at 7:23 am #1592863Jeremy
KeymasterHi 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>«</span> %title%' ) ?>and
<?php tribe_the_next_event_link( '%title% <span>»</span>' ) ?>Inside those functions, instead of
%title%, you can writeprevious eventin the first one andnext eventin the second one.Please read our Themer’s Guide before doing anything.
I hope this helps,
Cheers,
JeremyAugust 8, 2018 at 7:48 am #1592873gdpr20190717
ParticipantHi,
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
August 9, 2018 at 12:20 am #1593533Jeremy
KeymasterHi 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,
JeremyAugust 12, 2018 at 11:58 pm #1595871gdpr20190717
Participantist working now. i was just in the wrong lines *facepalm*
August 13, 2018 at 8:26 am #1596125Barry
MemberHappy 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 ๐
-
AuthorPosts
- The topic ‘tribe-events-sub-nav is gone’ is closed to new replies.
