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

Advanced teaser

The Advanced teaser shows an image and places a text box with headline, subheadline, text and up to two buttons on top of it. It also offers a coloured overlay and hover effects. You find it as the block Advanced teaser in the category Aspina General.

Warning: Without a selected image the teaser outputs nothing in the storefront, not even the text. Always select an image.

Settings

Tab Setting Effect
General Headline, Subeadline, Text The texts of the text box. Default headline: dummy text. Empty texts are not output.
General Button text, Button text (Button 2) Labels of the buttons. Without a text there is no button. Default: dummy text.
General Image The image of the teaser.
General Display mode Original, Scaled (Stretch) or Cropped (Cover). Default: Cover.
General Minimum height Only visible in Cover mode, where it is required. Default: 340px.
General Vertical align, Horizontal align Position of the teaser in its area. Both fields are disabled in Cover mode. Default: Center.
General Alt text, Mark image as decorative Image description for screen readers. Images marked as decorative get an empty alt text and are skipped by screen readers.
General Link to, Open link in new tab Target of the button and whether it opens in a new tab. Button 2 has the same fields.
General Entire element clickable Makes the whole teaser a link. Default: off.
Layout Padding, Border radius, Background colour, Maximum width Spacing, rounding, background and width limit of the element. Maximum width is disabled in Cover mode. Default: 15px, 0, transparent, none.
Layout Text alignment Alignment of the texts. Default: Center.
Layout Sections Headline, Subheadline, Text Font family and text colour (default: #ffffff). By default the headline uses the font family "Headlines".
Layout Sections Button and Button 2 Button style (default: Primary and Secondary) and Outline button.
Layout Horizontal positioning Image section left, centre or right, in Cover mode. Default: Center.
Layout Section Content overlay Position and size of the text box (Width: auto, Maximum width: 90%) plus Apply overlay styling with Background colour (default: rgba(0, 0, 0, 0.6)), Backdrop effect, Box shadow (default: Small shadow) and Rounded corners.
Layout Hover effect (Content), Hover effect (Coloured overlay) Effect when the mouse moves over the element. Content: Fade in, Slide in (up, right, down, left), Zoom in or Fade out. Coloured overlay: Fade in or Fade out. Default: No effect.
Layout Show coloured overlay Colour layer over the image, optionally as a gradient (Background colour (2), Gradient direction (in degrees), default: 45). Default: on.
SEO & Pagespeed HTML tag (Headline), HTML tag (Subheadline) Paragraph or heading (h1 to h6). Default: Paragraph (p tag).
SEO & Pagespeed Use HTML tag as class (Headline), Use HTML tag as class (Subheadline) Look of a heading level. Default: h3 and h4.
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: Lazy.
Advanced CSS class (Element) and others Your own classes for element, headline, subheadline, text and both buttons, separated by spaces.

Button 2 only appears if Entire element clickable is off and a Button text (Button 2) is entered.

How the teaser behaves in the storefront

  • The hover effects only exist from a width of 576 pixels. On smartphones the teaser stays as configured.
  • With a Hover effect (Content) other than "Fade out", the text box is invisible at first and appears when you hover. With "Fade out" it is visible and fades out on hover. With Hover effect (Coloured overlay), the coloured overlay fades in or out without hiding the text.
  • The text from the text field is output sanitised.

Tips

  • Only use hover effects in clickable teasers. The help text in the admin recommends this explicitly.
  • With Entire element clickable, do not put links in the text.
  • Load the image at the top of the page with Lazy loading "Eager" and images further down with "Lazy". "Priority" is meant only for the largest image visible when the page opens, otherwise it slows down other content.
Was this page helpful?