Support

Home Forums Event Espresso Premium Removing event counter from events list

Removing event counter from events list

Posted: October 19, 2023 at 2:26 pm

Viewing 3 reply threads


NSAOregon

October 19, 2023 at 2:26 pm

I added the events list shortcode to our homepage [ESPRESSO_EVENTS limit=1 show_title=false]. https://nsaoregon.org/ Is it possible to remove the event counter from this section? I would like the featured image, excerpt, calendar info and “View Details” button to be the only thing that shows up here.


Rio

  • Support Staff

October 19, 2023 at 4:44 pm

Go to your WP dashboard -> Appearance -> additional CSS or you can put it in your child theme css.

in your case

.ee-event-datetimes-ul {
    display: none;
}

But we strongly suggest to put a custom class there.
You can do this by using css_class
[ESPRESSO_EVENTS limit=1 show_title=false css_class=my-custom-class]

because, if there’s no custom class all element that has ee-event-datetimes-ul will be affected.

If you use css_class, you can now target it by
.my-custom-class .ee-event-datetimes-ul {
display: none;
}

https://monosnap.com/file/t5BpAvH4Ovqj4AKxg0aKxZR0w5IERJ

Thanks


NSAOregon

October 23, 2023 at 12:24 pm

Thank you for your fast response. I don’t want to lose the time and date info. I don’t want the “ticker” info at the bottom to appear “1 2 3 4 NEXT”.

Is there a way to not display that part?


Rio

  • Support Staff

October 23, 2023 at 8:44 pm

If you plan to remove the pagination in the list, we advise to have custom css class then put this.

.my-custom-class .ee-pagination-dv.ee-clear-float {
    display: none;
}

If you only plan one event, in that page, you can also create a category for that event, then put that event in that category and make the code like this.

[ESPRESSO_EVENTS category_slug=special] will do the trick.

thanks

Viewing 3 reply threads

The support post ‘Removing event counter from events list’ 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