Support

Home Forums Event Espresso Premium Remove 'Upcoming' text/button from the event title on Events page list

Remove 'Upcoming' text/button from the event title on Events page list

Posted: February 12, 2018 at 1:47 am


daisy

February 12, 2018 at 1:47 am

Hello,
I would like to remove the words “Upcoming” (it’s a blue button next to the events title) which are being added to all ‘upcoming’ events. I would rather just display the Title of the event.
Website: https://www.blog.hoffmann-italia.it/eventi/ (you’ll see “prossimamente” in the blue button, which means “upcoming”).

Is it possible to do it using custom CSS?
I’ve already tried the code I found here but nothing happened..

Is it possible to remove “upcoming” but keep “sold out” (the yellow button) when an event has been sold out (i mean, no more tickets available)?

Thanks

Daisy


Tony

  • Support Staff

February 12, 2018 at 4:49 am

Hi Daisy,

You can actually completely remove the ‘Status banner’ using a setting in EE:

Event Espresso -> Events -> Templates -> Event list Pages -> Display Status Banner.

Set that to no, sae and it will remove the banner froma all event lists.

Is it possible to remove “upcoming” but keep “sold out” (the yellow button) when an event has been sold out (i mean, no more tickets available)?

For that you’ll need to leave the above option set to Yes and use some CSS, something like:

article.espresso_events span.ee-status.event-active-status-DTU {
    display: none;
}

You can add that to Appearance -> Customize -> Additional CSS

Please refer to this guide for more detailed information about the CSS customizer: https://codex.wordpress.org/CSS#Custom_CSS_in_WordPress

Note that will only hide the ‘Upcoming’ status banner, any other status will continue to show.


daisy

February 12, 2018 at 6:04 am

Thank you Tony,this is exactly what I was looking for!
Now I see a button only when the event is sold out (or any other status). Better (and clearer) now.
Resolved!

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  daisy 1 week, 2 days ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!