A hero image is the prominent image that greets visitors at the top of a webpage, serving as a powerful welcome screen. This guide will walk you through adding a hero image and making it appear behind your site's header and navigation.
First, you'll need to create an image gallery to house your hero image and adjust its settings.
Navigate to the Pages tab at the top of your Websites app and open the page where you want to add the image.
Add an Image Gallery block and upload your desired image(s).
Click Design this page at the top of the page. This will open the design panel.
In the right-hand sidebar, click the Page tab and select Image gallery.
Next to Height, open the menu and choose from the following options:
Adjust manually: Allows you to set a custom height for the image.
Fit to window: Makes the hero image fill the entire upper half of the webpage.
Scroll down to the Container section and check the box for Expand content to container edges. This will stretch your image to the full width of the page.
Click Save at the bottom of the sidebar.
To create a seamless look where the hero image is visible behind your site's header and navigation, you need to adjust their transparency settings.
Open the Design tab at the top of your Websites app.
In the right-hand sidebar, click the Sitewide tab and choose Header & Logo.
Scroll down to the Container section and click to expand it.
Next to Color, click the color box.
In the menu that appears, slide the Opacity scroll all the way down to 0.
In the right-hand sidebar, click the Sitewide tab again and choose Navigation.
Scroll down to the Container section and click to expand it.
Next to Color, click the color box.
Slide the Opacity scroll all the way down to 0.
In the right-hand sidebar, click the Page tab at the top.
Click the gear icon to open Page Settings.
Tip: If you don't see this option, try clicking the Page tab a second time.
Under Page Settings, slide the Top Padding scrollbar all the way to the left.
Click Save at the bottom of the sidebar to apply all your changes.