On this page
Hero countdown (Heading)
The CMS element Hero countdown (Heading) shows a large headline on an image, for example for a campaign such as "Black Week Sale". It is the upper part of the block Hero countdown in the block category Aspina Sale. Below it, this block contains a countdown banner.
Settings
The defaults are the values a new element starts with.
| Tab | Setting | Effect |
|---|---|---|
| General | Headline | Text of the headline (required). Default: "Black Week Sale". |
| General | Image | Image behind the headline. Without an image the storefront does not output the element. |
| General | Alt text | Image description for this element. Alternatively you maintain the alt text in the Shopware media manager, which is used automatically. |
| General | Mark image as decorative | The alt attribute stays empty and screen readers skip the image. Off by default. |
| Layout | Maximum width | Maximum width of the headline area, e.g. 60% or none. Default: 60%. |
| Layout | Font family | Text or Headlines. Default: Headlines. |
| Layout | Text colour | Colour of the headline. Default: white. |
| Layout | Show coloured overlay | Puts a colour layer over the image. Off by default. |
| Layout | Background colour, Use colour gradient, Background colour (2), Gradient direction (in degrees) | Appear once the coloured overlay is on. Default: dark black (85% opacity), no gradient, direction 180 degrees. The angle goes from 0 to 360. |
| SEO & Pagespeed | HTML tag (Headline) | HTML tag of the headline, from p to h1 to h6. Default: Paragraph (p tag). |
| SEO & Pagespeed | Lazy loading | Eager, Lazy or Priority. Default: Lazy. |
| Advanced | CSS class (Element), CSS class (Headline) | Your own CSS classes, separated by spaces. |
What it looks like in the storefront
- The headline sits in the middle of the image, in capital letters and bold. The font size follows the screen width and grows and shrinks with it.
- The image is stretched to the width of the element. Display mode, Vertical align, Horizontal align and Use HTML tag as class (Headline) are greyed out in the dialog and currently not available.
Tip: Use Priority only if the image is at the very top of the page and visible right when it opens. For images further down, Lazy stays the better choice.
Note: The Hero countdown is a block made of two elements. You set up the countdown on the element below, not here.