---
title: "How to remove the all-day text in the calendar list layout"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravitycalendar/how-to-remove-the-all-day-text-in-the-calendar-list-layout/"
---

If you are using one of the List layouts in your calendar, you might want to hide the all-day text that shows up.

In order to hide that information, you'll need to add a code snippet to your website and a CSS style.

```
add_filter( 'gravityview/calendar/options', function ( $options ) {
	$options['displayEventTime'] = false;
	return $options;
} );
```

```
add_filter( 'gravityview/calendar/options', function ( $options ) {
	$options['displayEventTime'] = false;
	return $options;
} );
```

How to add this code: [Where to put code samples](https://www.gravitykit.com/docs/gravityview/customizing-your-views/where-to-put-code-samples/).

```

```

```

```

How to add this style: [Adding custom CSS to your website](https://www.gravitykit.com/docs/gravityview/customizing-your-views/adding-custom-css-to-your-website/).

Here's how the calendar will look after these changes:

![Calendar list for January 1, 2024, showing events including New Year’s Day and "Chant for Peace" Day](https://www.gravitykit.com/wp-content/uploads/2025/10/file-hbIMy8Kotx.jpg)