On this page
  1. Settings
  2. Automatic transition
  3. How it behaves in the shop

Text slide (Hero slider)

The Text slide (Hero slider) element is a slide with an image, teaser, headline and text. You use it in the blocks Hero slider (2x), Hero slider (3x) or Hero slider (4x). They sit in the shopping experiences in the category Aspina General.

Note: The element is intended for the hero slider and is currently not designed for other blocks.

Settings

Tab Setting Effect
General Image Required field: the image of the slide.
General Alt text, Mark image as decorative Alternative text of the image. Marked as decorative, alt text and title stay empty and screen readers skip the image. Default: off.
General Teaser, Headline, Text The three texts of the slide. The Text is a required field.
General Link to, Open link in new tab, Link description Target URL, new tab and the name of the link for screen readers (aria-label, empty = link title). With a link, the whole slide is clickable.
Layout Padding, Border radius Padding and rounding of the corners. Default: 30px / 0.
Layout Text alignment, Text shadow Alignment of the text and a shadow for the text. Default: Left / No shadow.
Layout Font family, Text colour In the sections Teaser, Headline and Text: font and text colour of the respective text. Default: headline in the font Headlines, all text colours #111111.
Layout Width, Maximum width, Vertical alignment, Horizontal alignment In the section Content overlay: size and position of the text block over the image. Default: width 100%, maximum width 50%, middle, left.
Layout Animation Animation of the text block: Fade in, Fade in down, Fade in left, Fade in right or Fade in up. Default: no animation.
Layout Apply overlay styling, Background colour, Backdrop effect, Box shadow, Rounded corners A panel behind the text with a background colour, a backdrop effect (blur), a shadow and rounded corners. The fields only appear when Apply overlay styling is on. Default: on, with semi-transparent white.
Layout Show coloured overlay, Background colour, Use colour gradient, Background colour (2), Gradient direction (in degrees) In the section Coloured overlay: a coloured area over the image, optionally as a gradient between two colours with a direction in degrees. The colour fields only appear when the overlay is on. Default: off.
Responsive Display mode, Breakpoint, Minimum height In the section Image: how the image fills the space and from which viewport the mode changes. Cover > Contain shows the image cropped at first and complete from the breakpoint. Contain > Cover is the other way round. The breakpoint can only be edited in the two mixed modes, the minimum height not in mode Contain. The minimum height is required in mode Cover. Default: Fixed height (Contain), breakpoint Small ≥576px, minimum height 340px.
Responsive Breakpoint, Background colour In the section Text: from which viewport the text overlays the image. Before that it sits below the image, with the background colour chosen here. Default: Small ≥576px, background colour #ffffff.
Responsive Image animation, Duration of the image animation [s] Slow movement of the image (zoom in, zoom out, pan left or right) as soon as the slide becomes visible. The duration ranges from 2 to 30 seconds. With the system setting "reduce motion" no animation runs. Default: none, duration 8 seconds.
Slide Sizing mode Sizing mode of the text block: Boxed content or Full-width. Default: Full-width.
Slide Show from, Show until Period in which the slide is shown, to the minute. The hero slider always needs at least 2 visible slides.
Slide Duration (s) Time in seconds until the automatic change to the next slide (1 to 180). Only takes effect with autoplay on (see below). Default: 7.
SEO & Pagespeed HTML tag (Headline), Use HTML tag as class (Headline) HTML tag of the headline and the headline class that sets its look. Default: paragraph (p) with the class h3.
SEO & Pagespeed Lazy loading Loading behaviour of the image. Use Priority only for the largest image in the visible area. Default: Eager.
Advanced CSS class (Element), CSS class (Teaser), CSS class (Headline), CSS class (Text) Your own CSS classes for element, teaser, headline and text, separated by spaces.

You can hide the tabs SEO & Pagespeed and Advanced with the switch Advanced configuration at the top of the dialog.

Automatic transition

For accessibility reasons, the automatic transition is off by default. You switch it on in the theme configuration: tab Others, block Accessibility, section Aspina 'Hero-Slider', setting Automatic transition (autoplay). Alternatively, enter autoplay in the field CSS classes of the hero slider block. With autoplay, the slider also shows buttons to pause and resume.

Warning: Autoplay can reduce the accessibility of your shop. The responsibility is yours, as the dialog also states.

How it behaves in the shop

  • From the breakpoint under Text, the text sits over the image. On smaller screens it sits below.
  • The image animation restarts with every change.
Was this page helpful?