Use the Banner content type to add an illustrated, interactive component that engages users with a call to action and button in the Page Builder stage.
What was previously the Banner option in the Content menu, is now Dynamic Block.
If you are making significant changes to Page Builder content, it is recommended that you increase the Admin Session Lifetime to prevent the session from timing out while you work.
The banner toolbox appears when you hover over the banner container.
Tool | Icon | Description |
---|---|---|
Move | ![]() |
Moves the banner to another position on the stage. |
(label) | Banner | Identifies the current content container as a banner. Hover over the container to see the toolbox. |
Settings | ![]() |
Opens the Edit Banner page, where you can change the properties of the banner and container. |
Hide | ![]() |
Hides the current banner. |
Show | ![]() |
Shows the hidden banner. |
Duplicate | ![]() |
Makes a copy of the banner. |
Remove | ![]() |
Deletes the banner from the stage. |
Upload New Image | Uploads an image from your local file system to the gallery for the banner background. | |
Select from Gallery | Uses an existing image from the gallery for the banner background. |
Hidden elements are stored in the database and invisible to customers. However, these elements are visible to search engines and other bots that crawl your site. They are also returned as part of the content if requested through an API call with an attribute of invisibility, unless you remove them from the stage.
In the Page Builder panel, expand Media and drag a Banner placeholder to the stage.
The Upload Image and Select from Gallery buttons are included so you can make quick changes to the banner content directly from the stage. You can also change the content on the Edit Banner page.
Click in the banner placeholder to display the text editor and enter content for the banner.
You can also include more complex banner content using the Content settings.
Hover over the banner container to display the toolbox and choose the Settings () icon.
Use the following sections for detailed information about updating the available settings:
When complete, click Save in the upper-right corner to close the Edit Banner page.
In the upper-right corner, click Save to apply the settings and return to the Page Builder workspace.
Banners are easy to set up and maintain, because they are based on one of four predefined templates.
Choose one of the following banner placement types:
Placement | Description |
---|---|
Poster | Centers content and button on the banner. The overlay, if used, extends the full width of the banner. |
Collage Left | Places content and button in a defined area on the left side of the banner. The overlay, if used, covers only the defined area. |
Collage Center | Places content and button in a defined area that is centered on the banner. The overlay, if used, covers only the defined area. |
Collage Right | Places content and button in a defined area on the right side of the banner. The overlay, if used, covers only the defined area. |
(Optional) Enter the Minimum Height for the row.
The minimum height can be a number with any valid CSS unit (such as 100px
, 50%
, 50em
, 100vh
) or a calculation (such as 100vh - 237px
).
For example, you can set the minimum height of a banner to stretch the full height of the page, giving you compelling options for full-page background images and videos.
There are many options for defining the background display of a banner. You can apply a simple color or background image, and manage more sophisticated effects.
Specify the background color by choosing a swatch, clicking the color picker, or by entering a valid color name or equivalent hexadecimal value. This setting determines the background color of the row. You can also adjust the opacity of the color.
You can set the value in one of three ways:
White
#ffffff
rgba(255, 255, 255, 0.75)
If you want to choose a color, click the swatch to the left of the No Color box.
If you click the color box to open the color picker again, the box below the slider shows the current red, green, blue, and alpha values (rgba). The last number indicates the current opacity percentage as a decimal. You can use the slider to adjust the opacity, or enter the desired decimal value.
Page Builder also supports a transparency layer, or alpha channel, in background images that can be used to create backgrounds with varying degrees of opacity.
A background type can be an image or a video. Page Builder defaults to Image
and shows various image settings. If you select Video
, Page Builder swaps the image settings with video settings. Both background type settings are described in the following sections.
If you set the Background Type to Image
, use the following settings to define the background image display.
Background Image - If needed, use the provided tools to choose a background image to apply to the banner:
Tool | Description |
---|---|
Upload | Uploads an image file from your local computer to the gallery and then applies it as the background image for the banner. |
Select from Gallery | Prompts you to choose an existing image from the gallery as the background image for the banner. |
![]() |
Allows you to either drag the image to the camera tile or browse to the image in your local file system. |
Background Mobile Image - If needed, use the same tools to choose a different background image to be used for display on mobile devices.
Background Size - Set this option to determine how the background image is scaled in relation to the width of the banner:
Option | Description |
---|---|
Cover |
The background image covers the full width of the banner. |
Contain |
The background image is limited to the width of the content area. |
Auto |
Applies the size from the current style sheet. |
Background Position - Set this option to determine how the background image is anchored in relation to the banner:
Anchor | Positions |
---|---|
Top |
Left / Center / Right |
Center |
Left / Center / Right |
Bottom |
Left / Center / Right |
The anchor point is like a push pin that attaches the image to the banner at the specified background position.
Background Attachment - Set the attachment type to determine how the background image moves in relation to the scrolling page:
Option | Description |
---|---|
Scroll |
The attached background image is synchronized to move down as the page scrolls. |
Fixed |
(Not available for mobile) The background image does not move as the container scrolls over the image and is fixed at the specified background position. |
Background Repeat - If you want to repeat the background image to fill the space, change this setting Yes
.
If you set the Background Type to Video
, use the following settings to define the background image display.
Video URL - Enter a valid video URL. Valid video URLs can be links to:
https://youtu.be/CoDhMRUUjeI
https://vimeo.com/190156113
.mp4
is recommended): https://myvideos.com/spiral.mp4
Overlay Color - Select a color to apply a transparent tint to the video.
Infinite Loop - Set to No
to make the video play once and stop. When it is set to Yes
(default), the video repeats in an infinite loop.
Lazy Load - Set to No
to make the video load with the page, even when not visible. When it is set to Yes
(default), the video loads from the source only when visible on the screen.
Play Only When Visible - Set to No
to make the video start playing immediately after it loads, regardless of whether it is visible. When it is set to Yes
(default), the video starts playing only when it is visible.
Fallback Image - If needed, specify an image to display on the screen before the video loads and if the video does not load for some reason.
You can modify the banner content directly on the stage or when you are changing the settings. The settings provide more complex content features, such as banner links and buttons, and overlays. The position of the content reflects the Appearance placement setting.
Click the placeholder text and enter the text that you want to appear on the banner.
The editor toolbar appears above the text box.
Use the editor toolbar to enter and format text, as well as insert elements, such as links, images, and widgets.
Hover over the banner container to display the toolbox and choose the Settings ( ) icon.
Scroll down to the Content section and use the Message Text editor to enter and format banner text.
You can also insert elements, such as text links, images, and widgets.
If needed, specify a Link for the banner.
The link is the destination page that appears when the customer clicks the banner button or area. You can use one of three link types:
Starting with the 2.4.1 release, Page Builder no longer supports linking the banner and links within the nested text due to issues with display on the storefront. If you are using a link in the Message Text, you cannot configure the Link option. If you prefer to use a single link for the whole banner, you can remove all links from the text.
If needed, add a button to prompt customers to follow the link.
The banner Appearance setting places a single link or button below the text. Complete the properties of the link or button that you want to add.
You can also use multiple buttons or links by adding a block to the banner. To avoid conflict, keep all the links or buttons in the separate block, and do not add a link or button directly to the banner.
Set Show Button to one of the following:
Option | Description |
---|---|
Always |
A button always appears on the banner. |
On Hover |
A button appears on the banner only on hover. |
Never Show |
A button never appears on the banner. |
Enter the Button Text to appear on the button.
Set Button Type to one of the following:
Option | Description |
---|---|
Primary |
Applies the primary button style from the current style sheet. |
Secondary |
Applies the secondary button style from the current style sheet, if applicable. |
Link |
Creates a hyperlink rather than a button. |
The button style from the current theme determines the button format. Typically, a primary button has a more prominent background color than a secondary button.
Set Show Overlay to one of the following:
Option | Description |
---|---|
Always |
The overlay is always visible. |
On Hover |
The overlay appears only on hover. |
Never Show |
The overlay is not visible. |
You can use an overlay to apply a background color to the active content area that is defined by the Appearance setting. The banner background image remains visible for the full width of the banner.
If you choose to show an overlay, set the Overlay Color:
In the upper-right corner, click Save to apply the settings and return to the Page Builder workspace.
Text for these settings is visible to search engines and improves the way the page is indexed.
For Alternative Text, enter an alt text description for digital accessibility tools to display.
The use of alt text is an accessibility best practice, and is required by law in some locales. In HTML, the alt
attribute is a subset of the image
tag: <image title="tooltip" alt="description" src="image.jpg">
.
For Title Attribute, enter the text to display as a tooltip on mouseover.
As a best practice, choose a descriptive, keyword-rich title to improve the way the image is indexed by search engines. In HTML, the title
attribute is a subset of the image
tag: <image title="tooltip" alt="description" src="image.jpg">
.
To control the horizontal positioning of content containers that are added to the banner, choose an Alignment:
Option | Description |
---|---|
Default |
Applies the alignment default setting that is specified in the style sheet of the current theme. |
Left |
Aligns the content containers along the left border of the banner container, with allowance for any padding that is specified. |
Center |
Aligns the content container in the center of the banner container, with allowance for any padding that is specified. |
Right |
Aligns the content container along the right border of the banner container, with allowance for any padding that is specified. |
Set the Border style applied to all four sides of the banner container:
Option | Description |
---|---|
Default |
Applies the default border style that is specified by the associated style sheet. |
None |
Does not provide any visible indication of the container borders. |
Dotted |
The container border appears as a dotted line. |
Dashed |
The container border appears as a dashed line. |
Solid |
The container border appears as a solid line. |
Double |
The container border appears as a double line. |
Groove |
The container border appears as a grooved line. |
Ridge |
The container border appears as a ridged line. |
Inset |
The container border appears as an inset line. |
Outset |
The container border appears as an outset line. |
If you set a border style other than None
, complete the border display options:
Border Color - Specify the color by choosing a swatch, clicking the color picker, or by entering a valid color name or equivalent hexadecimal value.
Border Width - Enter the number of pixels for the border line width.
Border Radius - Enter the number of pixels to define the size of the radius that is used to round each corner of the border.
(Optional) Specify the names of CSS classes from the current style sheet to apply to the banner container.
Separate multiple class names with a space.
Enter values, in pixels, for the Margins and Padding to specify the outer margins and inner padding of the banner.
Enter each corresponding value in the banner container diagram.
Option | Description |
---|---|
Margins | The amount of blank space that is applied to the outside edge of all sides of the container. |
Padding | The amount of blank space that is applied to the inside edge of all sides of the container. |