On this page
Round teaser
The Round teaser shows a round-cropped image with a title over it. With a link, the whole element is clickable. You find the block Round teaser 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 | Vertical align, Horizontal align | Position of the element in its area. 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 | Padding, Background colour, Maximum width | Padding around the title, background colour behind the image and maximum width of the element (e.g. 740px or 90%). Default: 15px / transparent / none. |
| Layout | Text alignment, Font family, Font weight, Text formatting, Text colour, Background colour | In the section Title: alignment, font, font weight, text formatting, text colour and background colour of the title. 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: bottom centre, 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. |
| Advanced | CSS class (Column) | In the section Expert settings: classes for the column the element sits in. Only works in the block Six columns (Custom), see the chapter Column CSS classes. |
You can hide the tabs SEO & Pagespeed and Advanced with the switch Advanced configuration at the top of the dialog.
How it behaves in the shop
- The image area is fully rounded, so the image is shown round. The display mode is fixed to "Scaled (Stretch)", the field is locked in the dialog.
- Hover effects apply from 576 px width. On phones in portrait the title is always visible.
Tip: Use hover effects only on linked elements. The help text in the dialog recommends this as well.