On this page
  1. Settings
  2. How the slide behaves in the storefront
  3. Tips

Call-to-Action slide (Hero slider)

The Call-to-Action slide (Hero slider) is a single slide for the blocks Hero slider (2x), Hero slider (3x) and Hero slider (4x) in the category Aspina General. Each slide has an image, a teaser line, a headline, a text and a button.

Note: The element is intended for the hero slider. It is currently not intended for other CMS blocks. The admin shows this note inside the element as well.

Settings

Tab Setting Effect
General Image The image of the slide. Required.
General Alt text, Mark image as decorative Image description for screen readers. Images marked as decorative get an empty alt text.
General Teaser, Headline, text field, Button text The texts of the slide. Default headline: dummy text. The button text is pre-filled with dummy text.
General Link to, Open link in new tab, Entire element clickable Target of the button. With Entire element clickable the whole slide becomes a link. Default: off.
Layout Padding, Border radius Default: 30px and 0. Border radius can only be set in the first slide of the slider; the field is disabled in the other slides.
Layout Text alignment, Text shadow Alignment (default: Left) and shadow of the texts (default: No shadow).
Layout Sections Teaser, Headline, Text Font family and text colour. Default: text colour #111111, and for the headline the font family "Headlines".
Layout Section Button Button style (default: Primary) and Outline button.
Layout Section Content overlay Width (default: 100%), Maximum width (default: 50%), Vertical alignment (default: Middle), Horizontal alignment (default: Left) and Animation (default: No animation, otherwise fade in from one direction; only takes effect if the text breakpoint in the Responsive tab is not "none"). With Apply overlay styling (default: on) you also get Background colour (default: rgba(255, 255, 255, 0.85)), Box shadow and Rounded corners (rounded corners only take effect if the text breakpoint is not "none"). Backdrop effect is disabled in the administration (currently not available).
Layout Show coloured overlay Colour layer over the image, optionally as a gradient. Default: off.
Responsive Display mode (section Image) Cropped (Cover), Fixed height (Contain), Cover > Contain or Contain > Cover. With the last two the mode switches from the breakpoint. Default: Contain.
Responsive Breakpoint (section Image) From this viewport the display mode switches. Only active for the two switching modes. Default: Small ≥576px.
Responsive Minimum height Disabled with "Contain". Default: 340px.
Responsive Breakpoint (section Text) From this viewport the text overlays the image. Before that it sits below the image. Default: Small ≥576px.
Responsive Background colour (section Text) Background of the text below the image. Disabled with text breakpoint "all". Default: #ffffff.
Slide Sizing mode Boxed content or Full-width. Default: Full-width.
Slide Show from, Show until Period in which the slide is shown, to the minute. Default: empty.
Slide Duration (s) Time until the automatic change, 1 to 180 seconds. Default: 7.
SEO & Pagespeed HTML tag (Headline), Use HTML tag as class (Headline) Paragraph or heading (h1 to h6) and the look of a heading level. Default: Paragraph with class h3.
SEO & Pagespeed Lazy loading Eager loads the image preferentially, Lazy only when you scroll close to it, Priority like Eager plus fetchpriority="high" (only for the largest image visible when the page opens). Default: Eager.
Advanced CSS class (Element) and others Your own classes for element, teaser, headline, text and button, separated by spaces.

How the slide behaves in the storefront

  • Image and text have separate breakpoints. Below the text breakpoint the text sits below the image, above it the text lies on the image. With "none" it never overlays the image, with "all" it always does.
  • The display mode uses the same steps from "Extra small ≥480px" to "Extra extra large ≥1440px".
  • Automatic playback is switched off for accessibility reasons. You enable it in the theme configuration with the setting Automatic transition (autoplay). This can reduce the accessibility of your storefront.
  • The hero slider always needs at least 2 visible slides. Keep this in mind when you use Show from and Show until.

Tips

  • With Show from and Show until you schedule campaign slides in advance.
  • Below the image the text uses the background colour from the Responsive tab.
Was this page helpful?