What is the Hero Search banner?
The Hero Search banner is a banner with a prominent search and optional quick-filters, designed to allow users to quickly find the content they seek. The Hero Search can be configured with a background image which sits behind the search bar and links.
How to add and configure a Hero Search banner
To add a hero search banner:
- Create a new node or click Edit from an existing node to view the edit node form
- Expand the 'Top section' accordion
- Click 'Add component'
- Click 'Add' on the 'Hero Search' tile
- Add your Title - this will display as the H1 on the page
- Add your optional Description caption which will display as body copy under the title
- Add your Image which will display as a background to the banner
- If you would like to add quick-links to display under the search box:
- Start typing the name of the node you wish to link to in the URL field and click on the correct option from the auto-complete results
- Type the label you wish to display in the Link text field
- If you wish to add more than one link, click Add another item and repeat the above steps
- If you would like to display an image credit for the background image, check the Show Camera Icon checkbox
- Click Save at the bottom of the page
For optimal accessibility, the grey background to the search section cannot be made transparent.