Help Desk

Hide capacity

  • Posts: 11 Topics: 3
    | Permalink

    Hi,
    How do I hide capacity? It does not work using the following code in my custom stylesheet:

    .tribe-events-tickets .tribe-tickets-remaining {
    display: none !important;
    }

    Kind regards,

    Posts: 9834 Topics: 1
    | Permalink
    Correct Answer

    Good evening Ole and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    Try adding the following CSS rule to your style.css file or in your Custom CSS metabox:

    .tribe-events-event-cost .tribe-out-of-stock, .tribe-events-event-cost .tribe-tickets-left {display: none !important}

    This will remove the capacity from the list view.

    .tribe-events-tickets .tribe-tickets-remaining {display: none !important;}

    Accomplishes the same on the single event view.

    Let me know how that goes.

    Best regards,
    Geoff B.

    Posts: 11 Topics: 3
    | Permalink

    Thanks – it works fine. Can you also provide with a code that removes it from single event page?

    Kind regards,

    Posts: 11 Topics: 3
    | Permalink

    UPS – did not read your answer sorry. You already gave me that code 🙂

    Kind regards,

    Posts: 9834 Topics: 1
    | Permalink

    Good evening Ole,

    I am super stoked to hear that.

    Is there anything I can help you with today ?

    Best regards,

    Geoff B.

    Posts: 7
    | Permalink

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

    | Permalink

The topic ‘Hide capacity’ is closed to new replies.