Only show tribe-events-before-html on main page
-
Hi there,
I am struggling with hiding the text of tribe-events-before-html on two pages: show all events of a category and show all events of a tag (like example.com/events/category) I only want the text to be displayed on the main page (like example.com/events) and hidden on every other page of the calendar. I was able to achieve this by adding
/*hide text before html on single event*/
.single-tribe_events .tribe-events-before-html {
display: none;
}/*hide text before html on venue site*/
.tribe-events-view–venue .tribe-events-before-html {
display: none;
}/*hide text before html on organizer site*/
.single-tribe_organizer .tribe-events-before-html {
display: none;
}/*hide text before html on series site*/
.tribe_event_series-template-default .tribe-events-before-html {
display: none;
}But unfortunately I’m not able to hide it on the other two pages because I don’t know what to use instead of “.single-tribe_events”.
I hope someone can help ??
Thank you
Niki
- The topic ‘Only show tribe-events-before-html on main page’ is closed to new replies.