Image Header

Prev Next

Editorial purpose

Displays a page header made of a full-width FORGE Photo with a title and subtitle on top, in three heights (large, medium, small) and with left, center or right text alignment.

Required FORGE entity

This module requires the photo entity.

Parameters

Visual

Label

Type

Description

Remove Margin Bottom

Toggle

Remove the bottom margin.

Hide Module

Toggle

Hide the module.

Variant

Selection

Select the visual variant.

Options: large (Large); medium (Medium); small (Small).

variant sets the height and defaults to medium.

Remove Spacing Top

Toggle

Remove the spacing above the module.

Remove Spacing Bottom

Toggle

Remove the spacing below the module.

Use removeSpacingBottom; the legacy removeMarginBottom is read only when removeSpacingBottom is not set.

Data

Label

Type

Description

Photo Slug

Text

Set the Photo entity slug.

In the content picker, search by slug and select photo content.

Set photoSlug to a FORGE Photo; without a matching photo the module is hidden.

Title

Label

Type

Description

Header Title

Text

Set the module heading.

headerTitle and headerSubtitle are vocabulary keys; plain text is shown as entered.

Header Subtitle

Text

Set the module subheading.

Text Alignment

Selection

Select the text alignment.

Options: left (Left); right (Right); center (Center).

textAlignment defaults to center.

Required variables

Configure the following variables in Page Builder for the page to render correctly:

  • image_placeholder: Image shown when the photo has no image of its own.