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

Classic teaser

The Classic teaser shows an image with a short caption. The whole image is a link. You choose how the caption looks with the Layout type. You find it as the block Classic teaser in the category Aspina General.

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

Settings

Tab Setting Effect
General Caption The text on the teaser. 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. 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.
General Link to, Open link in new tab Target of the teaser and whether it opens in a new tab.
General Entire element clickable Is always on and cannot be changed.
Layout Layout type Default or Effect 1 to Effect 7. Some names give examples from the Aspina shop, such as "Aspina Clean". Default: Default.
Layout Use custom styling Unlocks colour settings. Default: off.
Layout Background colour, Maximum width Background and width limit. Maximum width is disabled in Cover mode. Default: transparent, none.
Layout Section Caption, Font family Font family of the caption. Default: Text.
Layout Caption with custom styling Text alignment (default: Center, not for "Default" and Effect 5 to 7), Text colour (default: #ffffff), Border colour (Effect 3 only, default: #ffffff), Background colour (default: rgba(0, 0, 0, 0.3)) and Background colour :hover (not for "Default", disabled while Link to is empty, default: rgba(0, 0, 0, 0.6)).
Layout Horizontal positioning Image section left, centre or right, only in Cover mode. Default: Center.
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), CSS class (Caption) Your own classes, separated by spaces.

How the teaser behaves in the storefront

  • The layout types differ in how the caption animates. According to the code they are "slide up" (Effects 1 and 4), "fade in" (Effect 2) and a button (Effects 3 and 5). The last two layout types are another button variant and an overlay in which the caption fills the image on hover.

Tips

  • With Effect 3 and the other button variant the preview in the admin shows a blue colour plus a note. In the storefront the theme replaces it with your primary colour as long as custom styling is off.
Was this page helpful?