Collection banner

The top of a collection page, with its title, description and photo, in four layouts from text only to a full-width image.

The banner tells shoppers which collection they are in. Its title, description and image come from the collection in your Shopify admin, so one section serves all your collections. Edit the words under Products > Collections.

A Core banner with only the breadcrumb, the title Laptops and a short description

Pick a layout

Text only keeps products close to the top, and we recommend it when your collection images are product photos made for small tiles. Those look poor when stretched across a banner.

Image on the right is the default when the section is added. Use it or Image on the left when you have photos and long descriptions. The text sits on a plain ground, so it stays easy to read on any photo.

Use Text over the image for large collections where the photo sets the mood. Width can then be Full width, which runs the photo from edge to edge while the text stays in line with your page. Raise Overlay opacity if the text is hard to read on a bright photo.

Height is the least height of the banner, and a long description makes it taller. For a store that is there to sell, Small or Medium keep the products in view.

A layout belongs to the template, so every collection on that template shares it. To mix layouts, use collection templates.

Where the photo comes from

The banner looks in this order and shows the first image it finds:

  1. The collection metafield custom.banner
  2. The collection's own image, unless Use the collection image is off
  3. The section's Default image

If it finds none, the banner shows as text only.

On phones it looks for custom.banner_mobile, then Default mobile image, then falls back to the same photo.

The metafields are for collections whose tile image and banner photo should differ. Turn off Use the collection image if your collection images are made for small tiles, and only collections with a custom.banner photo then show one.

Add the definition

In your admin, go to Settings > Custom data > Collections and add a definition. Set the namespace and key to custom.banner and the type to File, images only. Do the same with custom.banner_mobile if you want a phone crop.

Fill it in

Open a collection under Products > Collections. The metafield is at the bottom of the page. Choose a photo and save.

See Prepare your images for sizes and focal points.

Add a logo for brand collections

Logo shows an image in place of the title. Connect it to a collection metafield, such as custom.logo (type File, images), and each brand shows its own. Collections without one show their title. The brand template is set up for this, but a new store has no such metafield, so you make the connection yourself. Select the section, click the connect icon beside Logo and choose the metafield.

Add highlights

Under Collection banner, click Add block, then Highlight, for short lines such as delivery or returns. You can add up to 4. Choose an Icon or upload a Custom icon.

Words you type in a highlight show on every collection that uses the template. For words about one collection, connect Heading and Text to its metafields. No template arrives connected, so add the metafield definitions, then click the connect icon beside each setting. A collection with them empty shows nothing.

Highlight style on the section sets the look of the bold line: Text or Small label.

Set up the breadcrumb

Breadcrumbs are turned on in Theme settings > Layout > Show on collections. Shopify collections have no parents of their own, so the banner needs to be told what sits above a collection. You have two ways:

  • Menu for the breadcrumb reads the path from a menu: Home / Department / Group / Collection. Use the menu that lists your collections.
  • Parent page in the breadcrumb and Parent page link set one fixed step, such as Home / Brands / Aurel. It suits brand templates.

A collection that is not in the menu shows Home and its own name.

Something not working?

No photo shows. Check the layout first, because Text only shows no image. Then check the order above. With Use the collection image off, only custom.banner counts.

Heads or products are cut off. The banner crops the photo to its height. Set a focal point, or add a phone crop in custom.banner_mobile.

The description is too long. It makes the banner taller and pushes products down. Keep it to a sentence or two, or turn off Show the collection description.

All settings: Collection banner
SettingWhat it does
LayoutA collection without any image shows as text only. Options: Text only, Text over the image, Image on the right, Image on the left.
Text alignmentOptions: Left, Center.
HeightThe least height of the banner. A long description makes it taller. Options: Small, Medium, Large, Extra large.
WidthFull width: the photo runs from edge to edge of the screen, the text stays in line with the page. Options: Page width, Full width.
Text positionOptions: Top, Middle, Bottom.
Overlay opacityDarkens the photo behind the text. Raise it when the text is hard to read on a bright photo.
Show the collection description
Description sizeLarge shows the description at a reading size in the text color, with more space around it: a brand's statement. Options: Regular, Large.
Highlight styleSmall label shows each highlight's bold line in the label font (Theme settings > Typography > Small label case). Options: Text, Small label.
LogoShown in place of the title. Connect it to a collection metafield (File, image), such as custom.logo, so each collection shows its own: brand collections. Collections without one show their title.
Logo sizeOptions: Medium, Large.
Use the collection imageOff: only collections with a banner photo of their own (collection metafield custom.banner) show a photo; the others show the text alone. Turn it off when your collection images are product photos made for small tiles.
Default imageShown for a collection that has no image. To give a collection a banner photo different from its collection image, add a collection metafield with the namespace and key custom.banner (type: File, images) and fill it in on the collection's page.
Default mobile imageOptional. Phones show this instead, for a collection without a mobile banner of its own. A collection gets its own with a collection metafield custom.banner_mobile (type: File, images).
Parent page in the breadcrumbFor example Brands, with a link to your Brands page: Home / Brands / Aurel. With both set, the menu below is not used.
Parent page link
Menu for the breadcrumbThe breadcrumb shows the collections above this one in the menu: Home / Department / Group / Collection. Shopify collections have no parent, so the menu is the tree. Breadcrumbs are switched on in Theme settings > Layout.
Section
Color scheme
Top padding
Bottom padding
All settings: Highlight
SettingWhat it does
IconOptions: None, Check mark, Delivery truck, Return, Shield, Badge, Package, Tag, Gift, Map pin, Email, Message, Headset, Star, Lightning bolt, Recycle, Tools, Lock, Document, List, Heart, Paw print, Bone, Feather, Flower, Food, Sofa, Light bulb, Ski, Hiking boot, Tent, Running shoe, Climbing harness, Paddle, Bike, Luggage.
Custom iconOptional. Upload a single-color .svg or .png with a transparent background. It takes the text color of the row and replaces the icon above.
Heading
Text

On this page