On this page
  1. Settings

Text teaser (Decorated)

The Text teaser (Decorated) shows an image with a title over it. The title sits on a coloured strip that follows each line of text. With a link, the whole element is clickable. You find the block Text teaser (decorated) in the shopping experiences in the category Aspina General.

Settings

Tab Setting Effect
General Title, Image Required fields: the text and the image. Default: dummy text.
General Display mode How the image fills the space: Original (Standard), Cropped (Cover) or Scaled (Stretch). Default: Cropped (Cover).
General Minimum height Only shown in display mode Cover, where it is required. Default: 340px.
General Vertical align, Horizontal align Position of the whole element in its area. Only editable if the display mode is not Cover. Default: Center / Center.
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 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 element is clickable.
Layout Horizontal positioning In the section Image: horizontal position of the image crop in display mode Cover.
Layout Padding, Border radius, Background colour, Maximum width Padding, rounding of the corners, background colour and maximum width of the element (e.g. 740px or 90%). Default: 15px / 0 / transparent / none.
Layout Font family, Font weight, Text alignment, Text formatting, Text colour, Background colour In the section Title: font, font weight, alignment, text formatting, text colour and background colour of the title. The background colour sits as a strip behind the title text. Default: text colour #ffffff, background colour #000000.
Layout Vertical alignment, Horizontal alignment, Width, Maximum width In the section Layout: position and size of the title in the image. Default: centred, width auto, maximum width 90%.
Layout Hover effect (Content) The text only appears on hover (Fade in, Slide in up/right/down/left, Zoom in) or disappears on hover (Fade out). Applies from 576 px width. Default: No effect.
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.
SEO & Pagespeed HTML tag (Title) HTML tag of the title. Choose a paragraph (p) so that search engines do not treat the text as a headline. Default: paragraph (p).
SEO & Pagespeed Use HTML tag as class (Title) Gives a p tag the look of a headline (h1 to h6).
SEO & Pagespeed Lazy loading Loading behaviour of the image. Use Priority only for the largest image in the visible area. Default: Lazy.
Advanced CSS class (Element), CSS class (Title) Your own CSS classes for the element and the title, separated by spaces.

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

Was this page helpful?