Support

Home Forums Event Espresso Premium Hide Tickets NOT On Sale

Hide Tickets NOT On Sale

Posted: December 16, 2014 at 1:27 pm


b2995

December 16, 2014 at 1:27 pm

Hi! During pre-sales, I was told I could add some custom CSS to hide the tickets in EE4 that are NOT on sale when using Multiple Tickets? I only want current tickets to display. Thank you!


Jonathan Wilson

December 16, 2014 at 1:51 pm

Hi Tammy!

Yes. Please see this gist for different options: https://gist.github.com/lorenzocaum/7c1d3dce3c9efe486361

?I’ll be happy to answer anymore questions you might have.


b2995

December 16, 2014 at 2:16 pm

Perfect! Guess I should keep the last one active ๐Ÿ˜‰ Thank you!

/* Hide a tickets option with a status of sold out */
.espresso_events .ticket-sales-sold-out {display:none;}

/* Hide a tickets option with a status of expired */
.espresso_events .ticket-sales-expired {display:none;}

/* Hide a tickets option with a status of upcoming */
.espresso_events .ticket-pending {display:none;}

/* Hide a tickets option with a status of on sale */
.espresso_events .ticket-on-sale {display:none;}


Jonathan Wilson

December 16, 2014 at 2:45 pm

You’re quite welcome!

Since this topic is resolved, I am going to close it. If you have anymore questions or issues, please start a new topic and we will be happy to help there. ๐Ÿ™‚

The support post ‘Hide Tickets NOT On Sale’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso