# Day-Header Render Hooks

> FullCalendar v7 documentation. Web version: https://fullcalendar.io/docs/day-header-render-hooks

Customize the headers above the day cells in DayGrid and TimeGrid views. The same options also apply to the header of the [event popover](https://fullcalendar.io/docs/event-popover.md), where `info.inPopover` is `true`. For list view, see the [list day header render hooks](https://fullcalendar.io/docs/list-day-header-render-hooks.md). For the timeline view, see the [slot header render hooks](https://fullcalendar.io/docs/slot-header-render-hooks.md).

`dayHeaderAlign` - the horizontal text alignment of day header cells. `'start'` | `'center'` | `'end'`. Theme decides the default. In a left-to-right locale, `'start'` means left and `'end'` means right.

`dayHeaderClass` - a [ClassName Input](https://fullcalendar.io/docs/classname-input.md) for the outer element of the header cell, a `<div role="columnheader">`. When printing, some views render it as a table cell (`<th>`) instead.

`dayHeaderInnerClass` - a [ClassName Input](https://fullcalendar.io/docs/classname-input.md) for the inner wrapper of the header cell, which may be a nav link

`dayHeaderContent` - a [Content Injection Input](https://fullcalendar.io/docs/content-injection.md). Generated content is inserted *inside* the inner-most wrapper of the header cell. It does not replace the header cell element itself.

`dayHeaderDidMount` - called right after the header cell element has been added to the DOM

`dayHeaderWillUnmount` - called right before the header cell element will be removed from the DOM


## Argument

When the above hooks are specified as a function in the form `function(info)`, the `info` is an object with the following properties:

- `date` - Date object
- `text`
- `isPast`
- `isFuture`
- `isToday`
- `isOther`
- `hasNavLink`
- `view` - the current [View Object](https://fullcalendar.io/docs/view-object.md)
- `resource` - if the date column lives under a specific resource in [vertical resource view](https://fullcalendar.io/docs/vertical-resource-view.md), this value will be the [Resource Object](https://fullcalendar.io/docs/resource-object.md). In the [event popover](https://fullcalendar.io/docs/event-popover.md), it's the resource of the column or lane whose more-link opened it
- `el` - the header cell element (the `<div role="columnheader">`). only available in `dayHeaderDidMount` and `dayHeaderWillUnmount`
- `level`
