Hero banner

Set the first thing shoppers see on your loyalty page: an image or video, one headline for members and one for guests, and the buttons that send them to join or shop.

You can open the editor and save drafts on all plans. Publishing the page to your storefront requires Essential or above. This guide covers the Hero banner section of the New loyalty page. The theme block of the Classic Loyalty page is covered at the end.

What the hero banner does

The hero banner is the opening section of your loyalty page. It carries your image or video, a headline and two buttons, and it changes with the shopper: a guest sees an invitation to join, and a signed-in member sees a headline and a button of their own.

You design it in the New loyalty page editor, with a live preview beside every setting. Layout, media and links are settings of the section. The words are written in Translations.

Edit the hero banner

1

Open the editor

In Joy, go to On-site content, open the Loyalty page tab and click Open editor on the New loyalty page card.

The Loyalty page tab in Joy, with the New loyalty page card and its Open editor button

2

Open the Hero banner section

Select the Sections tab, then click Hero banner in Page sections. If the hero is not on the page, find it under More sections and click + to add it.

3

Choose the layout

Under Layout, pick a Composition: Centered campaign, Editorial right, Editorial left, Balanced split, Product story or Minimal. A composition sets the desktop and mobile layout and where the content sits, and everything below stays editable.

To set the layout yourself, choose a Desktop layout (Overlay, Media left, Media right, Media above, Media below or Content only) and a Mobile layout (Overlay, Media first, Content first or Content only). Move Horizontal content position and Vertical content position to place the text, then set Text alignment and Mobile text alignment. With Media left or Media right, Media width sets the share of the hero that the image takes.

4

Add your image or video

Under Media, set Desktop and Mobile separately. In Media type, choose Image or Video. On mobile, Media type also offers Same as desktop.

Upload an Image. For a video, choose a Shopify-hosted file or paste a direct HTTPS MP4 URL. The image then becomes the Poster image, which shows when the video cannot play or a visitor has motion turned off. Use Focus on to choose which part of the image stays when it is cropped, for example Top when the subject is a person.

5

Keep the text readable

Still under Media, set Overlay color and Overlay opacity. The overlay darkens the image so the text stays readable, and 0 leaves the image untouched.

6

Set the button links

Under Button links, enter the Primary button link and the Secondary button link that signed-out shoppers see, and the Primary button link (signed in) that members see. Leave a field blank and Joy uses the default shown in it: /account/login, /account/register and /collections/all.

7

Write the headlines and button labels

Open the Translations tab and find the Hero banner group. It holds Title, Subtitle, Primary button label, Secondary button label, and the signed-in rows Title (signed in), Subtitle (signed in) and Button label (signed in). In the section panel, Edit text takes you straight there.

Under Section header, the Preheader field adds small text above the title for both shopper states.

8

Check both views and save

Above the preview, open Preview as and check Desktop and Mobile, then Member and Guest. Click Save. On Essential and above, Save also publishes the page to your storefront.

Every section also has Full width, Show this block to (Everyone, Members only or Non-members only) and an Appearance group. See New loyalty page for how sections, presets and saving work.

Classic Loyalty page

If the Loyalty page tab shows Classic loyalty page is live, the hero is a block in the Shopify theme editor. The Loyalty Hero Banner card needs Essential or above. If the card shows Upgrade now instead of Edit in Theme Editor, your plan does not include the block.

1

Open the block

On the Loyalty page tab, find Loyalty Hero Banner under Blocks and click Edit in Theme Editor. If your store has no loyalty page yet, Joy asks "Are you sure you want to generate a loyalty page?". Enter the Loyalty page slug (the default is joy-loyalty-page) and click Generate. Joy creates the page and opens it in the theme editor.

2

Add the block

In the theme editor, on your loyalty page, click Add block in the Apps section, open the Apps tab and select Joy: Loyalty Hero Banner.

Add block list in the theme editor with the Joy Loyalty Hero Banner block

3

Set the block

The settings panel lists Add image, Image height, Image overlay opacity, Background color and Content alignment.

Joy Loyalty Hero Banner block settings in the theme editor

While your store is on the New loyalty page, the block settings no longer apply. The panel says: "Using the new loyalty page? The settings below no longer apply. Design this section in the Joy app: On-site content > Loyalty page > Open editor."

Frequently asked questions

Where did Embedded content go?

The menu is now On-site content. The hero banner of the New loyalty page lives in the Loyalty page tab, in the editor you open with Open editor.

Why can I not find the headline in the Hero banner settings?

Every word on the page is written in the Translations tab, even if your store has one language. In the section panel, select Edit text to jump to the right rows.

Can members and guests see different headlines?

Yes. The hero has a Title, Subtitle and button label for guests, and a Title (signed in), Subtitle (signed in) and Button label (signed in) for members. Use Preview as to check each view before you save.

Can I use a video instead of an image?

Yes. Set Media type to Video, then choose a Shopify-hosted video or paste a direct HTTPS MP4 URL. Joy accepts MP4, MOV and WEBM files up to 30 MB. For a larger file, upload it to Shopify Files first and pick it from your store videos. The image you add becomes the poster that shows when the video cannot play or a visitor has motion turned off.

Can phones show a different image from desktop?

Yes. Under Media, the Mobile group has its own Media type and Image. Leave them blank and phones use the desktop file.

What if the headline is hard to read on my image?

Raise Overlay opacity or change Overlay color under Media. Check Mobile in Preview as, because a photo can crop differently on a phone. Focus on keeps the part of the image that matters in view.

How do I hide the hero from members who already joined?

Open the section, find Show this block to and choose Non-members only.

Why does the secondary button not show for some shoppers?

The Secondary button link is shown to signed-out shoppers only, and only when your hero supports a second button.

Need help?

Reach out at [email protected] with your store URL and "Hero banner" in the subject, and we will check your page setup with you.


Last updated on