On this page
  1. Settings
  2. How the banner behaves in the storefront
  3. Tips

Advanced banner

The Advanced banner shows an image as background and places a text box with headline, subheadline, text and up to two buttons on top of it. You find it as the block Advanced banner in the category Aspina Banners.

Warning: Without a selected image the banner outputs nothing in the storefront, not even the text. Always select an image.

Settings

Tab Setting Effect
General Headline, Subeadline, Text The texts of the text box. Empty fields are not output. Default headline: dummy text.
General Button text, Button text (Button 2) Labels of the buttons. Without a text there is no button. Default: dummy text.
General Image The background image. Required.
General Minimum height Minimum height of the banner. Default: 340px.
General Link to, Open link in new tab Target of the button and whether it opens in a new tab. Button 2 has the same fields.
General Entire element clickable Makes the whole banner a link. Default: off.
Layout Padding, Border radius, Background colour Spacing and rounding of the element. Default: 15px, 0, transparent.
Layout Text alignment, Text shadow Alignment of the texts (default: Center) and shadow of the texts (No shadow, Small, Regular, Larger shadow).
Layout Sections Headline, Subheadline, Text Font family and text colour (default: #ffffff). The headline also has Font weight and Text formatting. Text also has Link colour and Link colour :hover (default for both: #ffffff). Link style and Link style :hover are disabled in the administration (not available).
Layout Sections Button and Button 2 Button style (default: Primary and Secondary) and Outline button.
Layout Attachment, Parallax effect Background image "Scroll" (default) or "Fixed". You can only switch on the parallax effect with "Fixed".
Layout Vertical alignment, Horizontal alignment Position of the text box in the image. Default: Center.
Layout Width, Maximum width Size of the text box. Default: auto and 90%.
Layout Apply overlay styling Puts a box behind the text, with Background colour (default: rgba(0, 0, 0, 0.6)), Backdrop effect (None or Blur), Box shadow and Rounded corners. Default: on.
Layout Show coloured overlay Puts a colour layer over the image, optionally as a gradient with Background colour (2) and Gradient direction (in degrees) (default: 45). Default: on.
SEO & Pagespeed HTML tag (Headline), HTML tag (Subheadline) Decides whether a paragraph or a heading (h1 to h6) is output. Default: Paragraph (p tag).
SEO & Pagespeed Use HTML tag as class (Headline), Use HTML tag as class (Subheadline) Gives the text the look of a heading level. Default: h2 for the headline, h4 for the subheadline.
Advanced CSS class (Element) and others Your own classes for element, headline, subheadline, text and both buttons. Separate several classes with spaces.

Button 2 only appears if Entire element clickable is off and a Button text (Button 2) is entered.

How the banner behaves in the storefront

  • The text from the text field is output sanitised. With Entire element clickable, do not put links in the text.
  • "Fixed" only takes effect from a width of 768 pixels. On smaller screens and on iOS devices the image scrolls normally.
  • If Button 2 is set to "Secondary", it takes the text colour of the element so that it stays readable on the dark background.
  • Links in the text use the set Link colour and are underlined.

Tips

  • The coloured overlay is on by default and tints the image. Switch it off if your image should appear unchanged.
  • Only use a real heading tag for the headline if it fits the page structure. With the paragraph tag and the class "h2" it looks the same but does not count as a heading.
Was this page helpful?