Banner

In the collection template, customize the Collection banner that appears at the top of the page.

  • Show an image as the banner background

  • Change the banner size and alignment

  • Display the number of products available

Customize section styles


Set up banner content


  • Change the heading text size

  • Show or hide the collection description

  • Change the position of the banner content

  • Display the number of products in the collection

Click Collection banner section to find settings

Setting
Description
Options

Heading size

Change the size of the heading text from small to large.

1 - 8

Default: 7

Show collection description

Show the description added to the collection's settings in your Shopify admin

Default: Enabled

Content width

Set the maximum width of the heading and description. Use the slider to adjust line breaks in longer text.

200 - 1000 px Default: 500

Text alignment

Change the position of the heading, description, and product count.

Top left Top center Top right Middle left Middle center Default Middle right Bottom left Bottom center Bottom right

Enable text animation

When the banner first loads, the text slides up into place and gradually fades into view.

Default: Enabled

Show product count


Choose to display the product count below the collection title.

Click Collection banner section to find settings

Setting
Description
Options

Show product count

Display the number of products in the collection, below the collection title.

Default: Enabled

Set up banner image


In the collection banner settings, enable the Show collection image option. By default, the banner will use the image uploaded to the collection settings in your Shopify admin.

  • Choose to show the collection image

  • Adjust the height of the banner

Cover

Using color overlays

Learn how to change overlay colors and use gradients.

Click Collection banner section to find settings

Setting
Description
Options

Show collection image

Display the image banner, which uses either collection image from your Shopify admin settings or a custom image selected below.

Banner height

Change the maximum height of the banner. The Adapt to image option sets the banner height to the full height of your image, which avoids cropping.

Adapt to image Default Custom

Custom desktop height

For desktop, set the Custom banner height to a fixed height (in pixels) or relative height (as a percentage of the screen height).

Fixed height 250 - 750px Relative height 50 - 100% Default: 450px

Custom mobile height

For mobile, set the Custom banner height to a fixed height (in pixels) or relative height (as a percentage of the screen height).

Fixed height 150 - 750px Relative height 50 - 100% Default: 350px

Image banner transition

Change the animation style of how the image loads. The image can gradually fade into view or be revealed by an iris swipe, which appears as a growing circle. Set to None to disable animations.

None Default Fade Iris wipe

Show custom image


Instead of displaying collection images from your Shopify admin, upload a custom image to appear on all collection pages.

Click Collection banner section to find settings

Setting
Description

Image

Select or upload a custom image for the banner to override the image from your Shopify admin settings

Mobile image

Select or upload an alternate custom image for the banner when on mobile devices.

Show custom images for collections


To show custom images for collection pages using the same template, you can use metafields and dynamic sources. Use this option if you want to show different images without changing the collection image in your Shopify admin.

There are three general steps:

  1. Create a 'file' metafield for collections.

  2. Add custom images to the new metafield in your collections.

  3. In your theme editor, add the metafield as a dynamic source to the banner image setting.

STEPS

Create a File metafield for your collections

  1. In your Shopify admin, go to Settings > Custom data.

  2. Select Collections.

  3. Click Add definition.

  4. In the Name field, enter a name that describes what the metafield is for. For example: “Banner image”.

  5. Click (+) Select type and select File.

  6. Under Validations, make sure Accept specific file types is selected, and uncheck Videos.

  7. Click Save.

Add images to metafield in collection settings

  1. From your Shopify admin, go to Products > Collections and open your collection.

  2. Scroll down to the Metafields area, and click the banner image metafield you created to select an image.

    If no image is uploaded to your banner image metafield, the theme will use the default collection image.

  3. Click Save.

Connect metafield to the banner image setting

  1. In your theme editor (Customize), go to the collection template and click Collection banner.

  2. Under Collection image banner, click the Connect dynamic source button in the top-right of the image field.\

  3. Select your custom metafield from the list.

  4. Click Save.

Metafields allow you to store extra information about your products, collections, or pages. You can create custom metafields in the Shopify admin. In the theme editor, you can add dynamic sources to automatically display the metafield content for the current page.

Last updated

Was this helpful?