# Call-to-Action

The **ThemeWare® "Call-to-Action"** 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%2FjfuSjxTngCK0rgZpnNDP%2Fcms-element--call-to-action.png?alt=media&#x26;token=e5f19d88-0e19-47e2-9571-fb2030d1fbf4" alt=""><figcaption><p>ThemeWare® "Call-to-Action"</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® "Call-to-Action" 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%2F0PfvIGEnxdBKndyjHIe1%2Fcms-call-to-action--configure.png?alt=media&#x26;token=8b8f3d83-f95f-4502-b6f4-149d29f7b85b" alt=""><figcaption><p>Configuring the ThemeWare® "Call-to-Action"</p></figcaption></figure>

## Configuration

The configuration of the "Call-to-Action" is quite self-explanatory. The **text**, the **button 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), the **text** (4) and the **button text** (5) for the teaser. The text and the button text are mandatory fields.
>
> #### 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, the **hover effect** of the content and a **coloured overlay**.

> #### General
>
> In the section "General" you can configure the **general background colour** (1).
>
> #### Content
>
> In the "Content" section you can configure the desired **text alignment**.
>
> #### Headline
>
> In the "Headline" section you can configure the **font** and **text colour** for the headline (3).
>
> #### Text
>
> In the "Text" section you can configure the **font** and **text colour** for the text (4).
>
> #### Button
>
> In the section "Button" you can configure the **button style** (the colour) and determine whether the button (5) should be filled or displayed as an outline button.
>
> #### 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). Here you can configure the **horizontal alignment** and the **vertical alignment** of the overlay. You can also set the **width** (e.g. auto or 90%) and the **maximum width** (e.g. 90% or 740px) of the overlay.&#x20;
>
> With the configuration "**Apply overlay styling**" you can activate configuration fields for styling the overlay. Here you can set the **background colou**r, select a **background effect**, a **drop shadow** and **rounded corners**.
>
> #### Hover
>
> In the section "Hover" you can select a **hover effect** for the content (=text).
>
> #### Coloured overlay
>
> In the section "Coloured overlay" a **coloured overlay** can be activated and configured.

<figure><img src="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FoU2JWDQFvqTWLPbso74Q%2Fimage.png?alt=media&#x26;token=1b7435ca-0d84-407a-a737-c5d825ebedb2" alt=""><figcaption><p>Elements of the "Call-to-Action"</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.

{% hint style="info" %}
**Note**: Please note the theme variables are not available in the administration. The **button colour** of the preview is replaced by the corresponding theme colour in the storefront.
{% endhint %}

## **Demo**

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

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