GravityCalendar event tooltips: what they show and how to change them
When a visitor points at an event on a GravityCalendar calendar, or reaches it with the Tab key, a small box called a tooltip can open next to it. It shows the text you write in the calendar’s Event Description setting. For events with a start time in the Week and Day views, it also starts with the event’s title.
What the tooltip shows #
What the tooltip shows depends on the view and on whether the calendar has an Event Description:
| Where the event is | With an Event Description | With no Event Description |
|---|---|---|
| The Month view, the Grid and List layouts, and all-day events in every view | The description | No tooltip |
| Events with a start time in the Week and Day views (the Week (Agenda) and Day (Agenda) layouts) | The event’s full title, then the description | The full title, when the event can’t show it: the event is too short or too narrow, or another event at the same time covers it |
Events shown from another calendar feed follow the same rules, with that calendar’s own description in place of yours.

The tooltip stays open while the pointer is inside it, so visitors can select its text and click its links. By default it opens to the right of the event. When there is no room, it can open below the event or shift to stay on screen.
In the Month view, the Grid and List layouts and on all-day events, a description made only of line breaks opens an empty tooltip. Remove leftover line breaks from the Event Description, such as blank lines and a line break after the last line.
Add the title to the description #
In the Month view, the Grid and List layouts and on all-day events, the tooltip shows only the description. To show an event’s title there as well, start the Event Description with the merge tag you use in Event Title, such as {Class:1}. To show the place, add the merge tags from Event Location too.
Timed events in the Week and Day views then show the title twice, because their tooltip already starts with it. Leaving the title out of the description avoids the repeat there, and takes the title out of the tooltips in the Month view, the Grid and List layouts and on all-day events.

Step 1: Write the Event Description #
- In your WordPress dashboard, go to GravityKit, then click All Calendars.
- Click the name of your calendar.
- In the Calendar Fields section, find Event Description.
- Type the text you want in the tooltip. To add a value from the entry, such as a Paragraph field, click the Insert merge tag icon above the box, on the right.
- Click Save Settings.

Each event fills the merge tags from its own entry, so Room: {Room:5} shows each class’s own room.
Step 2 (optional): Show formatting and links in the tooltip #
The tooltip shows the description as plain text. It keeps line breaks, and HTML tags appear as typed. To show bold text, lists or links, turn on Allow HTML Content:
- In the same settings, scroll down to the Calendar Settings section.
- Under Allow HTML Content, check Enable.
- Click Save Settings.

To add a “Read more” link to the entry with the [gv_entry_link] shortcode, follow Linking a calendar event to its single entry page.
Turn off the tooltip #
An empty Event Description removes the tooltip from the Month view, the Grid and List layouts and all-day events. Timed events in the Week and Day views still show their title when the event can’t, and events from another calendar feed keep their own descriptions. The description also goes into the calendar’s subscription link, and calendars that subscribe to it show it.
To turn off every tooltip on a calendar and keep the description for subscribers, add this code:
/**
* Turns off the event tooltip on one GravityCalendar calendar.
*
* @param array $extra_options Calendar options that are not FullCalendar's own.
* @param int $form_id ID of the form the calendar uses.
* @param int $feed_id ID of the calendar.
*
* @return array The options with the tooltip turned off.
*/
add_filter( 'gravityview/calendar/extra_options', function ( $extra_options, $form_id, $feed_id ) {
// Replace 12 with the ID of your calendar. Remove these three lines to turn off the tooltip on every calendar.
if ( 12 !== $feed_id ) {
return $extra_options;
}
$extra_options['tooltip'] = false;
return $extra_options;
}, 10, 3 );Note: To add this code to your site, see Adding custom PHP code snippets to your website.
To find the calendar’s ID, go to GravityKit, then All Calendars, and read the ID column.
Change where the tooltip opens #
The tooltip comes from the Tippy.js library, and the tooltip_options setting passes options to it. This code makes above the event the preferred position on every calendar on the site. When space is short, the tooltip can still open below or to the right of the event:
/**
* Makes above the event the preferred tooltip position on every GravityCalendar calendar.
*
* @param array $extra_options Calendar options that are not FullCalendar's own.
*
* @return array The options with the new tooltip position.
*/
add_filter( 'gravityview/calendar/extra_options', function ( $extra_options ) {
$extra_options['tooltip_options']['placement'] = 'top';
return $extra_options;
} );Note: To add this code to your site, see Adding custom PHP code snippets to your website.
Other Tippy.js options, such as delay, go in the same tooltip_options array.