---
title: "Configuration"
manual: "Headliner"
version: "main"
permalink: "https://docs.typo3.org/permalink/twtgroup/headliner:configuration@main"
source: "Configuration/Index.rst"
rendered: "2026-11-11T13:53:21+00:00"
---

# Configuration {#configuration}

<a id="configuration-editrteheadings"></a>
<a id="configuration-contentselector"></a>

## Site settings {#configuration-site-settings}

The site set **Headliner** (`twtgroup/headliner`) has three site settings. Change them in **Sites > Setup**, or in
`config/sites/<identifier>/settings.yaml`.

-   **headliner.subheader.enabled**

    -   *Type:* bool
    -   *Default:* true

    Show the field **Subheader tag** in content elements.

    If switched off for a site, the field is hidden in the backend of that site, and the subheader follows the tag of
    the header: one level below it.

**config/sites/\<identifier>/settings.yaml**

```yaml
headliner:
  subheader:
    enabled: false
```

-   **headliner.contentSelector**

    -   *Type:* string
    -   *Default:* (empty)

    A CSS selector for the content of the page, for example `main`, `#content` or `.page-content`. Empty by default:
    then the whole page is the content. If it is set, the headings in the elements it matches are checked. Headings in the header, the menu and the footer are shown very pale (the
    tooltip says **Outside the content**); only their H1 counts, because the page has that H1, and their other
    levels cause no problem; an empty heading is a problem wherever it is.

    If the page has no element that matches, or if the setting is empty or not a valid selector, the whole page is
    checked. Use `main` if your theme puts the content of the page in a `<main>` element.

**config/sites/\<identifier>/settings.yaml**

```yaml
headliner:
  contentSelector: 'main'
```

-   **headliner.editRteHeadings**

    -   *Type:* bool
    -   *Default:* false

    Allow the tag of a heading in the rich text of a content element (for example **Regular Text Element**) to
    be changed in the box. Off by default: such a heading is only shown, with the badge **RTE**.

    If it is switched on, the select offers the headings the editor of the text offers (`heading.options` of its RTE
    configuration, H2 and H3 in the default preset). The tag is changed in the stored text of the element, at the place
    of the heading, and saved through the DataHandler, with the rights of the backend user. This changes the content of
    the editors, which is why the setting is off by default.

## Extension configuration {#configuration-extension}

There is none. The site settings above are all there is to configure.
