Hero
The Hero component is used to create a strong visual introduction at the top of a page. It appears directly below the menu bar and above the breadcrumbs, helping to highlight key messages and guide users to important content.
The Hero component should be used for promotion purposes, start pages such as Private and Corporate, and for selected product pages where visual impact and clear call to actions are essential.
Best practise
The Hero component can be used on start pages, like Private and Corporate, campaign pages and product pages when you need a strong visual introduction top of a page, highlight key message and guides users to important content.
- Campaigns/Promotions pages
- Start pages — Home, Private and Corporate (Global entries)
- Product pages, requiring strong visual impact with CTAs
Use only where it adds real value — not everywhere!
Yes, there are differences! The component will adjust depending of your choices and nothing can be selected that is not ok to use. For example, when selecting Living oak, shape will be possible to add. So elaborate and try it out!
Stripes
For Start pages or Campaign pages you can use Stripes to highlight key message. But Stripes are not available for Product pages.
Call-to-action
On product pages use call to action button to give a clear action for the users.
Call-to-actions is not neccessary on start pages, but can be used if there is a clear message or action for the users to take.
Background color
All six background colors can be used in Hero. But when selecting the Living oak only Apricot, Peach, Rose and Thistle can be chosen.
CTA in Hero
- CTA in Hero with short text will be placed on the same level
- CTA in Hero with long text will be placed under each other
Configuration in AEM
To enable the Hero component on page:
- Go to page properties of the page
- Select tab Advanced - scroll down to section Hero component
- Check the box "Show Hero Component on page"
- Save and close - open page
- Click on Configure to start editing
Hero type
- Promotion - only to be used for campaigns and start pages
- Product - only to be used on product pages
Decoration type
- Image
- Illustration
- Video
Headline
- Fill in the headline, mandatory
- Select headline style: H1 - H3, depending if you are using Stripes.
Note: Stripes can be the main headline (H1) in or it can be set to decorative
Stripes
- Yes, when selected this will be the main headline (H1 or H2)
- No
- Decorative: Option to set stripes as decorative
If Yes is selected for stripes then that becomes the main headline H1 depending on what you have selected under headline.
Stripes background color
- Orange - all six background colors can be used
- Apricot - the background color can only be orange
Note: if you have selected Stripe color Apricot and background color it will always be on orange background
Rows
- Row 1 - max 20 characters
- Row 2 - max 20 characters
- Row 3 - max 20 characters
Shape
- No
- Yes - should always be used with Living oak
Note: You can't combine Stripes and Shape. You can only have one of them in Hero. And Shape should always be used with Living oak
Shape Text
- Fill in text, the text has no restricton but around 34 characther will fit
Shape color
- Swedbank Orange
- Liliac
- Turquoise
Living oak
- Yes
- No
Background color
- Apricot
- Peach
- Thistle
- Rose
- Mist - not able to select for Living oak
- Sky - not able to select for Living oak
Hero type
- Promotions - only used for campaings and start page
- Product - only used for product pages
Decoration type
- Image
- Illustration
Headline
- Fill in the headline, mandatory - H1
Shape
- No
- Yes - should always be used with Living oak
Shape Text
- Fill in text, the text has no restricton, around 34 characther will fit
Shape color
- Swedbank Orange
- Liliac
- Turquoise
Living oak
- Yes
- No
Background color
- Apricot
- Peach
- Thistle
- Rose
- Mist - not able to select for Living oak
- Sky - not able to select for Living oak
Fill in the content for lead text and bullets.
- Lead text, size 18 px
- RTE option the bullet style as lead text size
You can create sub headline if needed and inline links.
- Go to tab CTA
- Default it says under Link 1 - No
- Select Yes to add link
You can have up to 3 links
- Link 1 have three options, the Primary, Secondary and Arrow
- Link 2 have two options, the Secondary and Arrow
- Link 3 have two options, the Secondary and Arrow
Note: Primary and Secondary will look like a button, but will not be coded as buttons.
To configure Link 1
- Select Yes for Link 1
- Select Link 1 Type: Primary, Secondary or Arrow
- Select Link 1 Action
- Fill in Link text for Link 1
- Browse to page or fill in depending on Action
To configure Link 2 and/or 3
- Select Yes for Link 2 and/or 3
- Select Link 2-3 Type: Secondary or Arrow
- Select Link 2 Action
- Fill in Link text for Link 2
- Browse to page or fill in depending on Action
- Browse to the content fragment you want to use
- Choose disclaimer type, Regular or Truncated
- Mark Paragraph and/or Headline depending on what you want to display in the disclaimer
- If displaying headline, choose heading level
- Go to Campaign tracking tab
- Mark Track campaign
- Enter your campaign name in the text field.
If you don't enter a campaign name, the page name will be used in the tracking code.
Cropping
If the image folder has a cropping profile, there will be different cropping formats available to select.
Preset type
Default value is "Smart crop".
Select Cropping
Different cropping formats are available depending on which cropping profile has been applied to the image folder in which the image is saved. The most common format is Standard.
For Saving bank
If you don't want the Hero component on the page
Do this:
- Go to MSM status dashboard and use compare, for see the changes that is done for the page
- Go to page structure, and page properties for that page and cancel inheritance for Hero component
- Go to the page and cancel inheritance on component you want to keep (that might be deleted from Swedbank)
Brake inheritance on Page level
- Open properties of the page
- Go to tab Advanced and scroll down to section Hero component
- Cancel inheritance and uncheck the box (reload the page)
- Save and close
Revert inheritance on Page level
- Open properties of the page
- Go to tab Advanced and scroll down to section Hero component
- Revert inheritance and check the box "synchronixe page" and click Yes
- Save and close - Publish page (?)
Brake inheritance on Hero component
- Go to page
- Cancel inheritance
- Now you can edit the Hero to your liking