Remove Ticket Cost from the Event Display

Home Forums Ticket Products Event Tickets Plus Remove Ticket Cost from the Event Display

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1422329
    Sherman
    Participant

    Hi, I would like to remove the ticket cost which is displayed on the event page.

    Is there a custom CSS I can use to remove them?

    Rgds
    Sherman

    #1422664
    Crisoforo
    Keymaster

    Hey! Thanks for reaching out to our forums.

    And yes you can hide the costs with CSS, give it a try to the following snippet of code.

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

    Let me know how that goes, or if you have further questions about this issue or if there’s anything else I can do for you.

    Thanks,
    Crisoforo

    #1423152
    Sherman
    Participant

    Hi Crisoforo!

    Thanks for your reply. It works! But the “|” symbol is still there. Any way to remove it?

    https://www.singaporefilmsociety.com/event/walkwithme/

    Rgds
    Sherman

    #1423186
    Sherman
    Participant

    Hi,

    To add on, the event side bar still shows the event cost as well..

    Any way to remove it?

    Rgds

    #1423225
    Crisoforo
    Keymaster

    Hi!

    Thanks for the update on this one, if you want to remove the display of the prices everywhere you can add the following filter in your functions.php file from your current active theme.

    add_filter( 'tribe_get_cost', '__return_empty_string' );

    On the other side you can still continue with hiding the blocks of price with CSS with the following snippet of code.

    .tribe-events-schedule h3 + .tribe-events-divider {
     display: none !important;
    }
    
    .tribe-events-event-cost {
     display: none;
    }

    Please let me know if you have any other questions about this issue or if there’s anything else I can do for you.

    Thanks,
    Crisoforo

    #1441798
    Support Droid
    Keymaster

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove Ticket Cost from the Event Display’ is closed to new replies.