# Hero section

You can configure the theme extension "Hero section" via the theme configuration. The "Hero section" can be displayed on CMS listing and/or shop pages.

<figure><img src="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FhXT3NUiTRv9o6BeURd91%2Ftwt-hero-section-preview.png?alt=media&#x26;token=3be8fefb-d08b-4f48-9408-e32152b2e948" alt=""><figcaption><p>ThemeWare® "Hero section"</p></figcaption></figure>

You can also customise the display for each category using a corresponding custom field if you like.&#x20;

If you want, you can also integrate the breadcrumb into the "Hero section".

In addition, you can also use an individual image as an alternative to the original category image using The texts and images shown were taken from the category management ("Catalogues" => "Categories") of Shopware. The "**Name**" and the "**Image**" (= Display image) of the corresponding categories are displayed. As an alternative to the original category image, you can also use a custom image via a corresponding custom field.

But let's start with the theme configuration.&#x20;

***

## Configuration

### **Theme configuration**

1. Go to the tab "**Extensions**"
2. Expand the block "**Hero section**"
3. Enable the configuration "**Show 'Hero section'**"
4. Now configure the "Hero section" as you like
   * For example, you can integrate the breadcrumb.
5. Save your changes after editing

### **Content**

1. Switch via the main navigation to the "**Category managment**" (1) (2) ("Catalogues" => "Categories")
2. Choose the category you want to edit (3)
3. To the right of the category list, the corresponding category now opens in the category editor (4)
4. You are in the tab "**General**"
5. In the block "**General**" you can edit the category name (**Name**).
6. Scroll to the block "**Menu settings**"
7. Here you can edit the category image (**Display image**)
8. Save your changes

<figure><img src="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FSy18YPgKq1qS5PlbXHt1%2Fadmin--edit-category.png?alt=media&#x26;token=dd133e53-bb51-4628-8fb9-6743f261f7cd" alt=""><figcaption><p>Shopware 6 "Category managment"</p></figcaption></figure>

***

## Display options

Here you have the following options for listing and shop pages:

* don't show
* show
* show (via custom field)

#### don't show

This is the default setting. In this case, the "Hero section" will not be displayed on the corresponding page type.

#### show

If you select the option `show`, the "Hero section" will be displayed on all pages of the corresponding page type.

{% hint style="success" %}
**Tip**: You can use the custom field to prevent the "Hero section" from being displayed in a category, allowing you to customise selected categories individually.
{% endhint %}

#### show (via custom field)

If you select `show (via custom field)`, the "Hero section" will only be displayed on the corresponding page type if you have configured the custom field to `yes` in the corresponding category.

<figure><img src="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2Fslp8fJhjWeq5lgNFl5ks%2Fimage.png?alt=media&#x26;token=a0cb3661-1779-443c-a225-c614567bdfad" alt=""><figcaption></figcaption></figure>

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

## Basic configuration

#### Pull up next element

...

## Content configuration

#### Text colour

...

#### Text alignment

...

#### Container width

...

#### Content width

...

#### Padding top (≥576px)

...

#### Padding top (≥992px)

...

## Overlay configuration

#### Background colour

...

#### Opacity

...

## Background configuration

#### Attachment

...

#### Parallax effect

...

## Breadcrumb configuration

#### Show breadcrumb

...

#### Position

...

***

## Custom fields

As you probably already know, the theme configuration is always global, i.e. it applies to all pages across your shop. This also applies to the configuration of the "Hero section" However, you can "overwrite" the theme configuration with a selection of custom fields in any categories and, for example, use a different colour for the "Hero section" in a particular category.

<figure><img src="https://3369454551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyzUEL0OiJhd4m6fQWdQe%2Fuploads%2FsaOV5JrnH3uQD76pBSio%2Fimage.png?alt=media&#x26;token=025c1343-0d0e-48a0-b6ae-1cdc832f5bc2" alt=""><figcaption></figcaption></figure>

For more information on custom fields, see the following article:

{% content-ref url="../custom-fields/categories/hero-section" %}
[hero-section](https://docs.themeware.design/additional-features/custom-fields/categories/hero-section)
{% endcontent-ref %}
