Support

Home Forums Event Espresso Premium Hide View Details Button on Expired Events

Hide View Details Button on Expired Events

Posted: May 12, 2016 at 3:41 pm


Jaclyn_M

May 12, 2016 at 3:41 pm

Hello,

I searched the forum but couldn’t find an answer to my specific situation. Usually when registration cutoff is past, it would show a message stating as such in red under the ‘register’ tab. Now it shows a view details button that goes to a page that I don’t want to be made public. Is there a way to remove this?

thanks,
Jaclyn


Lorenzo Orlando Caum

  • Support Staff

May 13, 2016 at 6:26 am

Hello,

You can do that but it will require some manual changes for each event that expires.

First add the event to a event category like “expired.”

That will add a class with a name like this (note the exact name at the end in bold):

espresso_event_categories-expired

You could then target the button by combining the above with this class (view-details-btn) so it looks like this:

.espresso_event_categories-expired .view-details-btn { display:none }


Lorenzo

The support post ‘Hide View Details Button on Expired Events’ 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