Hero: Video Background

Last updated

A full-width hero with a muted background video behind your heading and button. A poster image shows while the video loads, and a play/pause button lets visitors stop the motion.

Demonstration

Video Background Hero Demo

Hero — Video Background Settings

Background Video — MP4: Upload the primary MP4 background video. Keep the file short and optimized for the web.

Background Video — WebM: Optional WebM version. When supplied, browsers that support it will use it before the MP4.

Poster Image: Required fallback shown while the video loads and when it cannot play.

Mobile Poster Image: Optional. Replaces the video on screens narrower than 768px to reduce mobile bandwidth and motion.

Autoplay: Background video is always muted and plays inline. Visitors can pause it with the on-screen control.

Loop: Repeat the video continuously.

When the Video Ends: Show poster returns to the poster image, or the first frame if no poster is set. Hold last frame leaves the final frame on screen.

Heading: The hero's main heading, output as the page's H1.

Heading Size: Leave unselected to use the theme default.

Heading Color: Default inherits the theme color.

Custom Heading Color: Used when Heading Color is Custom.

Subheading: Optional line of text below the heading.

Subheading Size: Leave unselected to use the theme default.

Subheading Color: Default inherits the theme color.

Custom Subheading Color: Used when Subheading Color is Custom.

Button Text: The button's label. Leave the Button Link's Link Text blank and use this field instead.

Button Link: The button's URL and whether it opens in a new tab.

Button Style: Uses the shared Bootstrap theme palette.

Button Size: Use large button (btn-lg).

Overlay Color: Choose a color and opacity to improve text contrast over the video.

Minimum Height: Options: Small, Medium, Large, Full Viewport.

Text Alignment: Options: Left, Center, Right.

Play/Pause Control Position: The control remains visible so visitors can pause or resume the background video.

Play/Pause Control Style: Choose the option with the best contrast against the video.

Usage Notes

Put it first: As the first block on a page or post, the hero renders flush: full width above the content, behind a Fixed Top navbar. The template then skips its own page title, because the hero’s heading is the H1.

Your own H1: Leave the hero’s Heading empty and the hero prints no heading, so you can add an H1 in the content below it. The page title still stays hidden.

Not the first block? The template then prints the page title as an H1 above the content. On a Page, turn off Display Page Title (Page Display Options) so the hero’s heading is the only H1.

One hero per page: The heading is always an H1. A second hero, or a hero further down the page, adds another H1.

Keep it light: Use a short, compressed clip. Phones get the Mobile Poster Image instead of the video when one is set.