On this page
  1. Settings
  2. Hover effects

Hover teaser

The CMS element Hover teaser shows an image with a title and an optional subtitle. When the mouse moves over it, an effect plays. You find it as the block Hover teaser in the block category Aspina General.

Settings

The defaults are the values a new hover teaser starts with.

Tab Setting Effect
General Title Title of the teaser (required).
General Titel (Suffix) Addition after the title, shown in bold. Default: empty.
General Add space between title and suffix Puts a space between title and suffix. Off by default.
General Subtitle Text below the title. Default: empty.
General Image Image of the teaser. Without an image the storefront does not output the teaser.
General Display mode Original (Standard), Scaled (Stretch) or Cropped (Cover). Default: Cover.
General Minimum height Only visible in display mode Cover, where it is needed, e.g. 340px. Default: 340px.
General Vertical align, Horizontal align Position of the image. Only selectable when the display mode is not Cover. Default: Center.
General Alt text, Mark image as decorative Accessibility of the image. If decorative, the alt attribute stays empty.
General Link to, Open link in new tab Target of the teaser. Default: no link, no new tab.
General Link description Name of the link for screen readers.
Layout Background colour, Maximum width Background and maximum width of the element (Maximum width only selectable if the display mode is not Cover). Default: transparent, none.
Layout Text shadow Shadow behind the text. Default: No shadow.
Layout Title: Font family, Text colour, Font weight, Text formatting Look of the title. Default: font family Text, colour white, font weight and text formatting Standard.
Layout Subtitle: Font family, Text colour Look of the subtitle. Default: Text, white.
Layout Image: Background colour, Horizontal positioning Colour behind the image (default: transparent) and image crop left, centre or right (default: Center, only selectable in display mode Cover).
Layout Show coloured overlay Colour layer above the image, optionally with a gradient (second colour, direction 0 to 360 degrees). Off by default. When on: black at 85% opacity, no gradient, 180 degrees.
Layout Hover effect Effect on hover. Default: Default.
SEO & Pagespeed HTML tag and Use HTML tag as class (Title, Subtitle) HTML tag and headline class. Default title: Paragraph (p tag) with h2. Default subtitle: Paragraph (p tag), no class.
SEO & Pagespeed Lazy loading Eager, Lazy or Priority. Default: Lazy.
Advanced CSS class (Element), CSS class (Title), CSS class (Subtitle) Your own CSS classes, separated by spaces.

Hover effects

For Hover effect you can choose Default, Luna, Mila, Olivia, Ruby, Sophie, Stella, Chloe, Holly, Mia and Eve. Each effect animates the image and texts in its own way.

  • The hover effect only runs if you entered a target in the field Link to.
  • The image first appears darkened and becomes fully visible on hover. A coloured overlay, if switched on, then fades in.
  • With all effects except Default and Holly the subtitle only appears on hover. With Holly the subtitle is not output.
  • Default has no animation of its own: the image stays darkened and the coloured overlay does not become visible. Choose one of the named effects for an effect.
  • The title is limited to two lines and the subtitle to three. Longer text is cut off.

Tip: Keep the title to two lines and the subtitle to three so nothing is cut off.

Was this page helpful?