Using the Hero Banner placeholder:
- Select the page in the content tree.
- Click “+” button on the page layout in the Hero Banner placeholder just below the navigation. When published, it will stretch to the top of the page.
- Select Hero Banner component from list.
Alternate method:
- Click Components tab at top of content tree.
- Locate Hero Banner component.
- Drag the Hero Banner onto the page layout in the Hero Banner placeholder just below the navigation. When published, it will stretch to the top of the page.
Add image:
- Once the Hero Banner component has been placed on the page, select the placeholder image in the center panel. This will open the Desktop Background Image pane on the right.
- Click on the Add button to insert a background image to the page.
- For an image already in the Media Library:
- Navigate to the folder location of the image. Images should be in the [Sitename] > Images folder (or subfolder).
- Click on the desired image to select.
- Click on the Add selected button.
- For a new image:
- Select the desired location in the Media Library site tree for the uploaded image (images should be located in the [Sitename] > Images folder (or subfolder)).
- Click Upload Media and select the image file to upload.
- Once uploaded (click refresh if image doesn't appear at first), click on the image to select.
- Click on the Add selected button.
- Once an image has been placed, images can be edited by clicking on the change button or removed by clicking on the clear button.
Click in optional fields to add content:
- To add a title, click in the Banner Title field and type the desired text.
- To add a description, click in the Banner Description field and type the desired text.
- To add a button:
- Click on the Hero Button field
- With the Hero Button selected, go to the Element Options in the right-hand pane.
- Use the Link Type dropdown to select the link type.
- Click on the Link text field and type in the desired button text.
- For an External link, add a link in the URL field (this needs to be a full URL path starting with https://).
- For an Internal link:
- Click the Browse button to open the Internal link panel.
- Locate the page using the Context site dropdown list to locate a page on another website within Sitecore XM Cloud.
- Click the page name to be linked and click the Add link button.
- For a Media link (usually used for PDF files or other document files):
- Click on the Browse button.
- Select the desired file from the Media Library or upload a file and select it.
- With the file selected, click the Add selected button.
- Use the Optional parameters menu to add additional link options, if needed.
Change Hero Banner options:
- With the Hero Banner selected, go to the right-hand pane.
- Click on the down arrow next to Advanced styling to expand that section.
- Make desired changes to the styles. See "In Pages – Hero Banner options" in the Template Data tab above for details.