Hiding events bar from a certain category page

Home Forums Calendar Products Events Calendar PRO Hiding events bar from a certain category page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1144081
    jazzinconcert
    Participant

    Hi there,

    i would like to hide the events-bar on a certain category page.

    e.g.

    /events/category/music

    on that page the events-bar should NOT be shown but on all others.

    Is there a way to do that? Do you have a snippet?

    Thanks
    Thomas

    #1144148
    Nico
    Member

    Hi there Thomas,

    Thanks for getting in touch! Sure this is doable, just paste the snippet below in your theme (or child theme) stylesheet or via Simple Custom CSS plugin:


    /* hide events bar for music category page */
    .events-category-music #tribe-events-bar {
    display: none;
    }

    The code above assumes that the event category slug is ‘music’, be sure to change that if it’s not correct!

    Please let me know if this works for you,
    Best,
    Nico

    #1144201
    jazzinconcert
    Participant

    Hi Nico,

    thanks a lot for qick solution, works perfectly πŸ™‚

    Is there a similar solution for the Filter Bar ?

    Best
    Thomas

    #1144210
    jazzinconcert
    Participant

    Found it by myself πŸ™‚

    .events-category-ludwigs-empfehlungen #tribe_events_filters_wrapper {
        display: none;
    }

    Right ?
    Thanks Thomas

    #1144242
    Nico
    Member

    Perfekt! Thanks for confirming Thomas, and for sharing the code πŸ˜‰

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hiding events bar from a certain category page’ is closed to new replies.