On this page
Image slide (Hero slider)
The CMS element Image slide (Hero slider) is a slide with an image only, without text. You use it in the blocks Hero slider (3x) and Hero slider (4x) in the block category Aspina General, next to the other slide elements of the slider.
Settings
The defaults are the values a new slide starts with.
| Tab | Setting | Effect |
|---|---|---|
| General | Image | Image of the slide. |
| General | Alt text, Mark image as decorative | Accessibility. If decorative, the alt attribute stays empty. |
| General | Link to, Open link in new tab | Target of the slide. If a link is entered, the whole image is clickable. Default: no link, no new tab. |
| General | Link description | Name of the link for screen readers. |
| Layout | Border radius | Corner rounding, e.g. 20px. Default: 0. Only editable on the first slide of the slider in the dialog. |
| Layout | Show coloured overlay | Colour layer above 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: black at 85% opacity, no gradient, 45 degrees. The angle goes from 0 to 360. |
| Responsive | Display mode | Cropped (Cover), Cover > Contain, Contain > Cover or Fixed height (Contain). Default: Fixed height (Contain). |
| Responsive | Breakpoint | From which screen width the display mode changes, only selectable with the two switching modes. From Extra small ≥480px to Extra extra large ≥1440px. Default: Small ≥576px. |
| Responsive | Minimum height | Not selectable in display mode Fixed height (Contain), e.g. 340px. Default: 340px. |
| Responsive | Image animation | none (default), zoom in (Ken Burns), zoom out, pan left or pan right. |
| Responsive | Duration of the image animation [s] | Duration in seconds, from 2 to 30. Default: 8. Active as soon as an image animation is chosen. |
| Responsive | Image effect | None, Blur, Brightness, Contrast, Grayscale, Opacity, Saturation or Scale. Below it are value fields per effect, e.g. Brightness with 125%. The value of the chosen effect applies. Blur (px) only appears for the Blur effect. Default: None. |
| Responsive | Hover effect (Image) | Applies the image effect when entering or leaving the slide. Only selectable when an image effect is set. Default: None. |
| Slide | Show from, Show until | Period in which the slide is shown, to the minute. Default: empty, the slide is always visible. |
| Slide | Duration (s) | Seconds until the automatic change to the next slide, from 1 to 180. Default: 7. |
| SEO & Pagespeed | Lazy loading | Eager, Lazy or Priority. Default: Eager. |
| Advanced | CSS class (Element) | Your own CSS classes, separated by spaces. |
How the slide behaves
- The Hero slider must always have at least two visible slides. So check the periods in Show from and Show until so that never only one slide is left.
- The Duration (s) only counts when the automatic change is active. That is a theme setting (Automatic transition (autoplay)) and off by default.
- The Image animation restarts with every change as soon as the slide becomes visible. If the device has the system setting "reduce motion" on, no animation runs. According to the help text in the dialog, you ideally choose a duration a bit longer than the display duration.
- With Cover > Contain and Contain > Cover the display mode changes at the chosen Breakpoint.
Tip: Use Priority only for the first image at the very top of the page, otherwise Lazy or Eager is the better choice.
Note: The field Entire element clickable is greyed out in the dialog and currently not available. The slide is clickable as soon as you enter a target in the field Link to.