# Parallax banner

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

Der **ThemeWare® "Parallax-Banner"** wurde in Rahmen eines Verbesserungsvorschlages (Parallax-Effekt für den "Image-Banner") entwickelt. Dieser Parallax-Effekt wird noch deutlicher wenn der Banner ein Text-Overlay hat. Da der "Image-Banner" ganz bewusst auf Text verzichtet, entstand der "Parallax-Banner". Du kannst den Banner optimal als Trennelement in Boxed und Full-width Layouts einsetzen.

<figure><img src="/files/aSx14EZykMx7NwE9BcOB" alt=""><figcaption><p>ThemeWare® "Parallax-Banner"</p></figcaption></figure>

{% hint style="info" %}
**Note**: The element is explicitly intended for use in its own CMS block. It is not designed for use in other CMS blocks and therefore cannot be exchanged or placed in other blocks.
{% endhint %}

{% hint style="warning" %}
**Important**: This element is only available in the ThemeWare® Pro Edition.
{% endhint %}

***

## Configure element

You can configure the ThemeWare® "Parallax banner" as follows:

1. Click on the corresponding CMS block (1) to activate the "edit mode"
2. Hover the mouse over the desired CMS element
3. Click on the ![](/files/DbqYtMQUPw13wmi62Oiq) "gear" icon (2) to configure the CMS element
4. The "Element Settings" pop-up will open
5. Make the desired changes
6. Save your changes

You have now configured the CMS element.

<figure><img src="/files/LxTUNbASZKMjjVsg5R3u" alt=""><figcaption><p>ThemeWare® "Hero-Banner" konfigurieren</p></figcaption></figure>

***

## Configuration

The configuration of the "Parallax banner" is quite self-explanatory. The **title**, the **image** and the "**Minimum height**" are mandatory fields. That's all you really need to configure.

### General

In the tab "General" you configure the content of the element.

> **Content (Text)**
>
> In the section "Text" you can enter the **title** (2) and a **subtitle** (3). The title is a mandatory field.
>
> **Image**
>
> In the section "Image" you define the background image of the banner. The "Minimum height" is a mandatory field (default: `340px`).
>
> Beta: You can map the category image in layouts of the type "Listing page".
>
> **Link**
>
> In the section "Link" you define the target of the banner when it is clicked.

### Layout

In the "Layout" tab, you can configure the **title** (2), the **subtitle** (3), the **scroll behaviour** of the image (1), a **parallax effect** and a **coloured overlay** (1). You can also configure the alignment of the text content.

> **General**
>
> In the section "General" you can configure the general **background colour** (1), the **padding** and the **border radius**.
>
> **Content**
>
> In the "Content" section you can configure the desired **text alignment** and a **text shadow**.
>
> **Title**
>
> In the "Title" section you can configure the **font**, the **font weight**, the **text formatting** and the **text colour** of the title (2).
>
> **Subtitle**
>
> In the "Subtitle" section you can configure the **font**, the **text colour** and **link colours** of the subtitle (3).
>
> **Image**
>
> In the section "Image" you can configure the **attachment** of the image and specify whether a JavaScript managed **parallax effect** should be applied.
>
> **Content overlay**
>
> In the section "Content overlay" you configure the **horizontal alignment** and the **vertical alignment** as well as the **width** (e.g. auto or 90%) and the **maximum width** (e.g. 90% or 740px) of the "Content overlay".
>
> **Coloured overlay**
>
> In the section "Coloured overlay" a **coloured overlay** (1) can be activated and configured.

<figure><img src="/files/vx9xjkvtgoGa21vYeaDJ" alt=""><figcaption><p>Elements of the "Parallax banner"</p></figcaption></figure>

### SEO & Pagespeed

In the tab "SEO & Pagespeed" you can configure the HTML tag for the title and the subtitle.

### Advanced

You can select each HTML element of our banners using the appropriate CSS classes. If you want to use your own CSS classes, you can insert them in the "Advanced" tab.

***

## Parallax effect

As the name indicates, the parallax banner uses a JavaScript managed parallax effect, which creates a certain sense of depth when scrolling the page

If this banner is used in a Shopping Experience, an additional JavaScript plugin is loaded, which manages the effect.

{% hint style="info" %}
**Note**: As this effect requires the image to fill the entire page, we recommend using large, high-quality images as the page background.
{% endhint %}

{% hint style="warning" %}
**Important**: Parallax effects are not displayed in mobile viewports for performance reasons.
{% endhint %}

***

## Data mapping (coming soon)

On category and product pages, the following fields can be dynamically mapped from the current category or product:

* **Image** - e.g. category image or product image
* **Title** - e.g. category name or product name

***

## **Demo**

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

{% embed url="<https://demo.themeware.design/modern/en/Features/CMS-elements-blocks/Parallax-banner>" %}


---

# Agent Instructions: 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:

```
GET https://docs.themeware.design/additional-features/cms-extensions/cms-elements/banner/parallax-banner.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
