On this page
Image banner
The CMS element Image banner shows a wide image without text. It has only a few settings. You find it as the block Image banner in the block category Aspina Banners.
Settings
The defaults are the values a new image banner starts with.
| Tab | Setting | Effect |
|---|---|---|
| General | Image | Background image of the banner. Without an image the storefront does not output the banner. |
| General | Minimum height | Minimum height of the banner, e.g. 340px. Default: 340px. |
| General | Link to, Open link in new tab | Target of the banner. If a link is entered, the whole banner is clickable. Default: no link, no new tab. |
| General | Link description | Name of the link for screen readers. If it is empty, the title of the image from the media manager is used as the link title. |
| Layout | Border radius | Corner rounding, e.g. 20px. Default: 0. |
| Layout | Background colour | Background colour behind the image. Default: transparent. |
| Layout | Attachment | Scroll: the image scrolls along. Fixed: the image stays in place. Default: Scroll. |
| Layout | Parallax effect | Only takes effect with Fixed. Off by default. |
| Layout | Show coloured overlay | Colour layer above the image. On by default. |
| Layout | Background colour, Use colour gradient, Background colour (2), Gradient direction (in degrees) | Appear once the coloured overlay is on. Default: gradient from light green to red at 45 degrees, each at 60% opacity. The angle goes from 0 to 360. |
| Advanced | CSS class (Element) | Your own CSS classes on the element, separated by spaces. |
What the banner looks like in the storefront
- The image fills the banner and is cropped to fit.
- A fixed background image (Fixed) only applies from tablet width (768 pixels). On smaller screens and on iOS the image scrolls along.
- The Parallax effect only runs with Fixed and only on screens wider than 768 pixels.
Tip: The image banner has no fields for headline, text and button. The Hero banner offers them.
Note: The field Entire element clickable is greyed out in the dialog and currently not available. The banner becomes clickable as soon as you enter a target in the field Link to. This banner is only available as a block, not as a single element.