> 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-elements/sale/discount-banner.md).

# Discount banner

The **ThemeWare® "Discount Banner"** is a "Sale" banner element for your Shopping Experience. You can use it to draw attention to special discounts or sales.

<figure><img src="/files/zhAOtGjB8GZBPJQpdgFI" alt=""><figcaption><p>ThemeWare® "Discount 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® "Discount 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/vI45dKkO87z6biJWpfdd" alt=""><figcaption><p>Configuring the ThemeWare® "Discount banner"</p></figcaption></figure>

***

## Configuration

The configuration of the "Discount banner" is quite self-explanatory. The **title** and the **discount** are mandatory fields. That's all you really need to configure.

### General

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

> **Text**
>
> In the section "Text" you enter the text for the banner. You can enter a title (3) and a subtitle (4). The title is a required field.
>
> **Discount**
>
> In the "Discount" section you enter the discount (1) you would like to advertise. This is a mandatory field.
>
> **Link**
>
> In the section "Link" you determine the target of the banner. We recommend linking to an appropriate sale category.

### Layout

In the tab "Layout" you have various design options for the **text** and the **discount**.

> **General**
>
> In the section "General" you can configure the **general background colour** (2).
>
> **Text**
>
> In the "Text" section, the **font** and **text colour** of the title (3) and subtitle (4) can be configured.
>
> **Discount**
>
> In the section "Discount" the **font**, **text colour** and **background colour** of the discount (1) can be configured.

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

### Advanced

You can select any HTML element of our banners using appropriate CSS classes. If you would like to use your own CSS classes, you can add them in the tab "Advanced".

***

## Examples

<div><figure><img src="/files/cmagaWb72rzw50yane0E" alt=""><figcaption></figcaption></figure> <figure><img src="/files/FAQSgSfbm9SoLu54SPlB" alt=""><figcaption></figcaption></figure></div>
