> For the complete documentation index, see [llms.txt](https://docs.themeware.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.themeware.design/additional-features/cms-extensions/cms-blocks/hero-slider.md).

# Hero slider

{% hint style="info" %}
**Note**: This article is work in progress.
{% endhint %}

Die **ThemeWare® "Hero-Slider"-Blöcke** sind CMS-Blöcke die mit den entsprechenden Slider CMS-Elementen befüllt werden müssen. Andere CMS-Elemente funktionieren nicht im Hero-Slider.

Die Slider-Blöcke haben daher spezielle CMS-Elemente.

***

## Available "Hero slider" blocks

* [Hero slider (2x)](/additional-features/cms-extensions/cms-blocks/hero-slider/hero-slider-2-slides.md)
* [Hero slider (3x)](/additional-features/cms-extensions/cms-blocks/hero-slider/hero-slider-3-slides.md)
* [Hero slider (4x)](/additional-features/cms-extensions/cms-blocks/hero-slider/hero-slider-2-slides-1.md)

***

## Add "Hero slider" block

Wähle einen CMS-Block aus und ziehe diesen einfach per Drag’n’Drop in deine Erlebniswelt.

> **Hinweis**: Den "Hero-Slider" findest du in der Rubrik "ThemeWare® Allgemein" \[Pro]

![Adding a "Hero slider" CMS block](/files/O6yWRN6feLFCg3bKEnud)

***

## Autoplay and accessibility

The "automatic transition" (autoplay) is disabled (from version 3.7 or 4.0) due to accessibility concerns. You can enable this feature via the theme configuration.

{% hint style="danger" %}
**Accessibility concerns**: Enabling this feature may make parts of your storefront inaccessible to users with disabilities. This may result in non-compliance with accessibility laws applicable in your jurisdiction (e.g., the European Accessibility Act).

**Please note**: By enabling this feature, you acknowledge this risk and accept full responsibility.
{% endhint %}

***

## CSS-Klassen

In den Block-Einstellungen hast du die Möglichkeit CSS-Klassen für den entsprechenden CMS-Block zu definieren.

Da der ThemeWare® "Hero-Slider" (ab ThemeWare® 2.0) auf dem Bootstrap 5 Carousel ([Dokumentation](https://getbootstrap.com/docs/5.2/components/carousel/)) basiert, sind folgende CSS-Klassen besonders interessant:

#### Überblenden (Crossfade)

Füge die CSS-Klasse `carousel-fade` dem Block hinzu, um Slides mit einem Fade-Übergang anstelle eines Slides zu animieren.

#### Dunkle Controls

Füge die CSS-Klasse `carousel-dark` dem Block hinzu, um Steuerelemente dunkler zu gestalten.

#### Flat controls

The controls of the "Hero Slider" have a drop shadow for optimal visibility. This is especially helpful if the colour of the images in the slider varies significantly. If you don't want the drop shadows, simply add the CSS class `flat-controls` to the corresponding block.

***

## Demos

You can find some examples of use in our demo shops:

{% embed url="<https://demo.themeware.design/modern/en/Features/ThemeWare-CMS-elements/Hero-slider/>" %}
ThemeWare® Demoshop => Hero slider
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.themeware.design/additional-features/cms-extensions/cms-blocks/hero-slider.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
