• Resolved nikepapa

    (@nikepapa)


    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Abz

    (@abzlevelup)

    Hi @nikepapa, apologies for the delay here. Could you try this snippet here:

    .tribe-events-before-html {
    display: none !important;
    }

    See if that works, adding the !important should do the trick.

    Let me know how it goes.

    Best,
    Abz

    Thread Starter nikepapa

    (@nikepapa)

    Hi @abzlevelup, thank you very much for your reply.

    Unfortunately, this will not work because I need the text on one page. The snippet you sent will hide it on every page, right?

    Do you have an idea how to hide it on the two pages I mentioned in my first post?

    Best,
    Niki

    Plugin Support Abz

    (@abzlevelup)

    Hi @nikepapa, yikes. I missed that one. Could you provide me the direct URL to the page you wanted to hide? This is for me to suggest an accurate one for you.

    Looking forward to hearing from you.

    Best,
    Abz

    Thread Starter nikepapa

    (@nikepapa)

    Hi @abzlevelup, no problem. Thanks for getting back to me.

    Here is an example of a tag-site (?schlagwort“ means tag): https://edusiia.com/veranstaltungen/schlagwort/digitalisierung/

    Here is an example of a category-site (we used ?format“ for category): https://edusiia.com/veranstaltungen/format/konferenzen/

    I would like to hide the text not only on these specific sites but all overview sites of tags and categories.

    Thanks for you help!

    Best
    Niki

    Plugin Support Abz

    (@abzlevelup)

    Hi @nikepapa, thanks for getting back to me here. It seems like this is not possible with Custom CSS alone. This would need more backend work and customization. For now, we do not have a workaround for this. However, I encourage and recommend you to add it as a feature request in this link: https://evnt.is/ideas, this would help us track users needing this feature.

    Nevertheless, I am unable to provide you with an exact date for when this feature will be available or if it is possible. As our development team considers certain factors before implementing one like if a feature request has enough votes.

    Best,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    Hey @nikepapa, this thread has been inactive for a while, so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up, and we’d be happy to help.

    Cheers,
    Abz

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Only show tribe-events-before-html on main page’ is closed to new replies.