# Collection banner

{% embed url="<https://salesiq.zohopublic.in/signaturesupport.ls?widgetcode=siq93f38201da244cbe219b2cab71813c85342abc57dd769c6885e2bde57d2b90da>" %}

## Collection image <a href="#collectionimage" id="collectionimage"></a>

To set up a collection image section:

* Go to Customize theme. At the top of the page, use the dropdown to select a template that contains a collection banner section.
* Select **Collections** > **Default collection**.

<figure><img src="https://2356931311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2wXphKnAlRWTA61K8EmG%2Fuploads%2FBnIQ4dgH0pvuKWftL7TB%2Fcollection-page.png?alt=media&#x26;token=11925b77-cc16-4d6c-840f-e3ef9799f4a4" alt=""><figcaption></figcaption></figure>

## From the side panel, select the Collection banner block.

<table><thead><tr><th width="273">Settings</th><th>Description</th></tr></thead><tbody><tr><td>Layout</td><td><p>Customization of the "Layout" in the collection banner is as follows:</p><ul><li>Full width</li><li>Container</li></ul></td></tr><tr><td>Default collection image</td><td>Use "Default collection image" to add the image to the section.</td></tr><tr><td>Show collection image</td><td>Enabling this checkbox will allow you to display the added image in the collection.</td></tr><tr><td>Banner height</td><td><p>Customization of the "Collection banner height" in this section is as follows:</p><ul><li>Adapt to image</li><li>Small</li><li>Medium</li><li>Large</li></ul></td></tr><tr><td>Collection list</td><td>Choose specific collections to display in the banner.</td></tr><tr><td>Desktop content placement</td><td><p>Customization of the "Desktop content placement" in the collection banner section is as follows: </p><ul><li>Top</li><li>Middle</li><li>Bottom</li></ul></td></tr><tr><td>Desktop content alignment</td><td><p>Customization of the "Desktop content alignment" in the collection banner section is as follows: </p><ul><li>Left</li><li>Center</li><li>Right</li></ul></td></tr><tr><td>Color scheme</td><td><p>You can change the background and foreground color of the Collection banner section using the color scheme.</p><ul><li>Scheme 1</li><li>Scheme 2</li><li>Scheme 3</li><li>Scheme 4</li><li>Scheme 5</li><li>Scheme 6</li></ul></td></tr><tr><td>Mobile layout</td><td><p>Mobile content alignment </p><p>Customization of the "Mobile content alignment" in the collection banner section is as follows: </p><ul><li>Left</li><li>Center</li><li>Right</li></ul></td></tr></tbody></table>

<figure><img src="https://2356931311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2wXphKnAlRWTA61K8EmG%2Fuploads%2FQVEvneA4LEgrZwnUyc5r%2Fcollection-bnr.png?alt=media&#x26;token=1da5a80e-26ae-4787-8ea0-3c9fdfd52e06" alt=""><figcaption></figcaption></figure>

## Adding Collection banner via metafield

Before you can add Collection image(metafield value) to specific collections, you need to add the necessary metafield definition for this information.

1. From your Shopify admin, go to **Settings** > **Custom data** > **Collections**

<figure><img src="https://2356931311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2wXphKnAlRWTA61K8EmG%2Fuploads%2Fd2FB5TRzmaZaf4O07v9J%2Ftheme-setting.png?alt=media&#x26;token=b1d1be05-89f0-4772-b24f-f4f1d725fee2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2356931311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2wXphKnAlRWTA61K8EmG%2Fuploads%2FcwBMhiWZua95BMbIAbjb%2Fmeta-coll.png?alt=media&#x26;token=13d8d9eb-5ea6-46f6-9a08-e9a17c398ccc" alt=""><figcaption></figcaption></figure>

2. Click **Add definition**

<figure><img src="https://content.gitbook.com/content/2wXphKnAlRWTA61K8EmG/blobs/1HsSXKPfCLsKXmiYjMWh/coll-banner2.png" alt=""><figcaption></figcaption></figure>

3. In the **Name** field, enter `Collection image.`In the **Namespace and key** field, enter `custom.collection_image`

<figure><img src="https://content.gitbook.com/content/2wXphKnAlRWTA61K8EmG/blobs/DpjbTrNp4mo61E4kLxCY/coll-banner3.png" alt=""><figcaption></figcaption></figure>

4. Click **Select type** then select **File.**

<figure><img src="https://content.gitbook.com/content/2wXphKnAlRWTA61K8EmG/blobs/6fJZA7u1Wnkj1DQVt9Gy/coll-banner4.png" alt=""><figcaption></figcaption></figure>

5. Than select **Accept all file types.**
6. Click **Save** to save the definition.

<figure><img src="https://content.gitbook.com/content/2wXphKnAlRWTA61K8EmG/blobs/Tn163dM4atJ6RYcN2Ts7/coll-banner5.png" alt=""><figcaption></figcaption></figure>

7. You should see the **Collection image** in the list of definitions by now.

<figure><img src="https://2356931311-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2wXphKnAlRWTA61K8EmG%2Fuploads%2FVTgRaFkmTqY7rLwgcGyj%2Fmetaobject-coll.png?alt=media&#x26;token=282ad18e-28f7-4e1d-a8b4-227681af1785" alt=""><figcaption></figcaption></figure>
