# Hover box

The **ThemeWare® "Hover box"** is independent of its CMS block. You can use the teaser in other CMS blocks too. Just try out different blocks (for example with a different number of columns) to personalise your Shopping Experience.

<figure><img src="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FvWgmzXKP3bh3NFWJPRtH%2Fcms-element--hover-box.png?alt=media&#x26;token=eec966ac-8397-4b6d-a993-81eade1d362a" alt=""><figcaption><p>ThemeWare® "Hover box"</p></figcaption></figure>

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

***

## Configure element

You can configure the ThemeWare® "Hover box" 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 ![](https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2F2PucLINZ7mAqvu1W2yKk%2Ficon-cog.png?alt=media\&token=56e34152-66e8-4707-8c19-3621b8f2448e) "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="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FvGR44rTMjrfaXaz2WJf9%2Fimage.png?alt=media&#x26;token=7d28d21d-42d6-40de-a03e-0a8bb7234c96" alt=""><figcaption><p>Configuring the ThemeWare® "Hover box"</p></figcaption></figure>

***

## Configuration

The configuration of the "hover box" is quite self-explanatory. The **text** and the **image** are mandatory fields. That's all you really need to configure.

### General

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

> **Content**
>
> In the section "Content" you can enter the headline (3) and the text (4) for the teaser. The text is a mandatory field.
>
> **Image**
>
> In the section "Image" you define the background image (1) of the teaser. This is a mandatory field.
>
> **Link**
>
> In the section "Link" you define the target of the teaser when it is clicked.

{% hint style="info" %}
**Note**: The text area is capable of HTML. However, links `<a>` should not be used, as this interferes with the actual linking of the element.
{% endhint %}

### Layout

In the tab "Layout" you can configure the **overlay** (2), the **text** (3, 4) in the overlay and the **hover effect** of the overlay.

> **General**
>
> In the section "General" you can configure the **general background colour** (1).
>
> **Content**
>
> In the "Content" section you can select the desired **text alignment**.
>
> **Headline**
>
> In the "Headline" section you can configure the **font** and **text colour** for both the headline (3).
>
> **Text**
>
> In the "Text" section you can configure the **font** and **text colour** for the text (4).
>
> **Layout**
>
> In the section "Layout" you can configure the **horizontal alignment** and **vertical alignment** of the text.
>
> **Image**
>
> In the section "Image" you can configure the desired horizontal positioning of the image in display mode 'Cover'.
>
> **Content overlay**
>
> In the section "Content overlay" you configure the overlay (2) of the hover box. Here you can configure the **background colour** of the overlay.
>
> **Hover**
>
> In the section "Hover" you can select a **hover effect** for the content / overlay. With the **Invert hover behaviour** option you can invert the hover behaviour, so that the overlay is displayed by default and hidden on hover.

<figure><img src="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FR3IZJPwbhFsXzGhAZsFH%2Fimage.png?alt=media&#x26;token=43272d68-c11c-489e-9755-e590d3900675" alt=""><figcaption><p>Elements of the "Hover box"</p></figcaption></figure>

### SEO & Pagespeed

In the tab "SEO & Pagespeed" you can configure the HTML tag for the headline and the "Lazy loading" of the image.

### Advanced

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

***

## **Demo**

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

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