Support

Home Forums Event Espresso Premium White space in Calendar

White space in Calendar

Posted: September 30, 2021 at 2:55 pm


Michael L

September 30, 2021 at 2:55 pm

Hi, In the event calendar on this page there is a large amount of unnecessary white space at the top of each day. Could you please tell me where it is coming from and how to get rid of it.

https://disputescentre.com.au/


Tony

  • Support Staff

October 1, 2021 at 6:18 am

Hi there,

It’s happening because you have an event set with a DateTime starting April 1, 2021 through to March 31, 2023, meaning it happens every day on the calendar for that time period.

Someone has added some CSS to hide the event on the calendar but it is still loaded on the page so throws off the height calculations within the calendar.

See here: https://monosnap.com/file/u4E0Fvn9hRKrARiOiMV2K3KjEYrs4B

We currently don’t have a method to exclude specific categories from the calendar, however, you can set the calendar to only load specific categories (rather than excluding a specific one) which means if you use something like:

[ESPRESSO_CALENDAR event_category_id=1,2,3]

You can load events in the categories with ID’s 1, 2 and 3 so simply don’t add the category with that event in it to prevent it from displaying.

The support post ‘White space in Calendar’ 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