Hero
The hero component is a flexible component that can combine images, colours, text, links and calls to action.
Heros are an advanced component that should only be edited by AEM authors who have completed hero training.
Get training
If your unit uses heros and you haven't done so already, register for self-paced hero training. You'll get hands-on practice and the latest tips!
- Often a hero will have a striking image and a short amount of text to capture visitors' interest, like this example from engineering:
- In addition to an image and text, a hero may have a button with a call to action that drives traffic to other pages. Here's one example from the Concordia homepage:
- An image-only hero can separate sections of content, like on the Fine Arts homepage:
- You can use a text-only hero inside a timed box to advertise timely information of major importance that you want people to take action on. The hero displays during the box's active time and disappears when the active time expires. For example:
Heros are highly visible, so it's vital that you
- Register for self-paced hero training and complete training before editing a hero
- Follow best practices every time you edit a hero
- Contact webcoord@concordia.ca when you need assistance with a hero
Best practices
Change a hero image
- Only change the image when absolutely necessary
- Choose a simple image with a strong point of focus and room for text
- Style the image as outlined in training. If needed, go to the Background settings tab and adjust the Background overlay so the text is easily legible.
- Keep the hero consistent with any other heros on the page:
- Same background colour (if any)
- Same button style
- etc
- Same background colour (if any)
- Follow the Accessibility guidelines.
- To ensure the highest quality hero, email webcoord@concordia.ca before you activate the page. Our designer will review it and make any needed adjustments.
Add a temporary text hero
- Add a box. Set the Margin to 0. Set the box Active Times.
- Add a hero inside the box. Set the Overall height to Flexible. Under the Text settings tab, set Additional padding to 40px 0.
- Keep the text to a minimum.
- The hero allows for one or two buttons.
- Adjust the settings so the hero's consistent with the other page components:
- Same button style
- Same text alignment (horizontal)
- Same text area grid
- Same background colour that's used elsewhere on the page
- Follow the Accessibility guidelines
- If the hero looks less than excellent, email webcoord@concordia.ca before you activate the page. Our designer will review it and make any needed adjustments.
Accessibility
- Go to the Text Settings tab and ensure it's set to the appropriate Heading level
- H1 for a hero at the very top of a page
- H2 for all other heros
- H1 for a hero at the very top of a page
- Keep the Title and Subtitle clear and concise, so they're easy to read on mobile
- If you're including Button text, keep it clear and concise, e.g.
- Apply now
- Register now
- Browse programs
- Hero images are considered decorative, so you don't need to add alt text