On this page
Image & text layered
The CMS element Image & text layered shows an image with a text box made of headline and text that partly covers the image. You find it as the block Image & text layered in the block category Aspina Text & images.
Settings
The defaults are the values a new element starts with.
| Tab | Setting | Effect |
|---|---|---|
| General | Headline | Headline in the text box. If empty, it is left out. |
| General | Text | Text in the box (required). |
| General | Image | Image of the element. Without an image the storefront does not output the element, including the text. |
| 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 | Image effect and Hover effect (Image) | Effect on the image, e.g. Grayscale or Blur. With a value field per effect (default: Blur 5, Brightness 125%, Contrast 125%, Grayscale 100%, Opacity 75%, Saturate 125%, Scale 110%). The hover effect (in or out) is only selectable when an image effect is set. Default: None. |
| General | Alt text, Mark image as decorative | Accessibility. If decorative, the alt attribute stays empty. |
| Layout | Layout type | Layout "Standard" or Layout "Inside". Default: Layout "Standard". |
| Layout | Arrangement | Standard or Reverse. Swaps the sides of image and text. Default: Standard. |
| Layout | Background colour | Background of the element. Default: light grey. |
| Layout | Text alignment | Alignment of the text. Default: Left. |
| Layout | Headline and text: Font family, Text colour | Look of the headline (default: Headlines) and the text (default: Text). Colour black for both. |
| Layout | Background colour (Content overlay) | Colour of the text box. Default: white at 50% opacity. |
| SEO & Pagespeed | HTML tag (Headline), Use HTML tag as class (Headline) | HTML tag of the headline (default: Paragraph, p tag) and the matching headline class (default: h2). |
| SEO & Pagespeed | Lazy loading | Eager, Lazy or Priority. Default: Lazy. |
| Advanced | CSS class (Element), CSS class (Headline), CSS class (Text) | Your own CSS classes, separated by spaces. |
What it looks like in the storefront
- From 576 pixels screen width, image and text box sit side by side. The text box reaches into the image. On screens wider than 1200 pixels the image gets 60% and the text box 40% of the width, in between about 50% each.
- Below 576 pixels, image and text box are stacked. The text box then overlaps the image.
- With Arrangement set to Reverse, image and text swap sides. With Layout "Standard" the element extends a little beyond the column edge, with Layout "Inside" it stays within the column.
- The field Horizontal positioning is greyed out in the dialog and currently not available.
Note: This element is only available as a block, not as a single element.