On this page
Discount banner
The Discount banner shows a coloured box with your discount (for example "-50%") on the left and a title and subtitle on the right. It does not need an image. You find it as the block Discount banner in the category Aspina Sale.
Settings
| Tab | Setting | Effect |
|---|---|---|
| General | Title | Main text on the right. Default: "Black Week". |
| General | Subtitle | Second line of text on the right. Default: "Sale". |
| General | Discount | The text in the coloured box, for example -25%. Default: -50%. |
| General | Link to | Target of the banner. Without a link the banner is not clickable. |
| General | Open link in new tab | Opens the link in a new tab. Default: off. |
| General | Entire element clickable | Is always on and cannot be changed. With a link entered, the whole banner is clickable. |
| Layout | Background colour | Background of the banner. Default: #000000. |
| Layout | Section Text: Font family, Text colour | Font of title and subtitle. Default: Headlines, #ffffff. |
| Layout | Section Discount: Font family, Text colour, Background colour | Look of the discount box. Default: Headlines, #ffffff, #ef2f3c. |
| Advanced | CSS class (Element), CSS class (Title), CSS class (Subtitle), CSS class (Discount) | Your own classes, separated by spaces. |
How the banner behaves in the storefront
- From a width of 576 pixels, discount box and texts sit side by side. The box then ends in an arrow tip pointing right.
- On narrower screens, discount box and texts are stacked and the tip points down.
- All texts are centred and displayed in capital letters.