# Collection banner Display a banner/ background with highlighted features/ offers on a collection page can effectively improve customer's shopping experiences and boost your sales. ![image](https://docs-assets.foxecom.app/sleek-theme/Group%205203_AH48bTsl.png) ![image](https://docs-assets.foxecom.app/sleek-theme/image_WvNgVXST.png) ## How to add a Collection banner section Steps: 1. In the theme editor (**Customize**), open the template selector. 2. Select **Collections**, then **Default collection.** 3. On the left-side bar, add **Collection banner.** Add a description or image by editing your collection. [Learn more](https://help.shopify.com/manual/products/collections/collection-layout) ## How to edit a Collection banner ### Section settings #### General You can adjust the **Color scheme** for the Collection banner section ![image](https://docs-assets.foxecom.app/sleek-theme/image_w4bHH5Rx.png) #### **Settings** Add an outstanding **Image** to display on the Collection banner. * You can set the banners for mobile and desktop view separately. After you have chosen a suitable banner image, you can adjust the **Image overlay opacity**. ![image](https://docs-assets.foxecom.app/sleek-theme/image_kcn9UWLN.png) 📌 Want to show different banners across your collections? Learn more: [Add Image banner to your Collections using Metafields](#add-image-banner-to-your-collections-using-metafields) **Image position** can be set as Top/ Left/ Right/ Bottom/ Use image as background to the content (Collection title and description). ![image](https://docs-assets.foxecom.app/sleek-theme/image_9l9iK2Qm.png) ![image](https://docs-assets.foxecom.app/sleek-theme/image_OFFuoQKR.png) ![image](https://docs-assets.foxecom.app/sleek-theme/image_fumNg2Yy.png) ![image](https://docs-assets.foxecom.app/sleek-theme/image_xBkLWYK2.png) ![image](https://docs-assets.foxecom.app/sleek-theme/image_rRuThUEV.png) Set an **Image height** for the banner: * Adapt to image * Large * Extra medium * Medium * Small * Extra small and **Text alignment (**Left/ Center/ Right) ![image](https://docs-assets.foxecom.app/sleek-theme/image_7oQdfzpb.png) If you want to make your website more visually appealing and dynamic, consider using the **parallax effect** by selecting the ✅ **Enable parallax** effect checkbox. Then, select your preferred direction for this effect in the **Parallax direction** field (Vertical/ Horizontal/ Zoom) ![image](https://docs-assets.foxecom.app/sleek-theme/image_vUPLf0nK.png) **Mobile settings** This setting allows you to add a different image for the banner on the mobile view in the **Image mobile** field. * You have 2 options for adjusting the **Image height** (Auto/ Adapt to image). ![image](https://docs-assets.foxecom.app/sleek-theme/image_biDXfpRg.png) ### Block settings In the **Collection banner** section, you can add 1 **Collection information** block. ![image](https://docs-assets.foxecom.app/sleek-theme/image_PRU7t1yi.png) Change the **Heading size** to a suitable option (Heading xs/ Heading sm/ Heading md/ Heading lg/ Heading xl/ Heading 2xl/ Display md/ Display lg/ Display xl). ![image](https://docs-assets.foxecom.app/sleek-theme/image_RsFnYLwG.png) Especially, choose the suitable **Heading tag** for the collection title (H1/ H2/ H3/ H4/ H5/ H6). ![image](https://docs-assets.foxecom.app/sleek-theme/image_Ii2cvOFG.png) Additionally, you can enable the ✅ **Show collection description** checkbox to display the collection description. ![image](https://docs-assets.foxecom.app/sleek-theme/image_jjt5k3TZ.png) You can also modify the spacing above and below the Collection information block by adjusting the slider to change the values of the **Top padding** and **Bottom padding**. ![image](https://docs-assets.foxecom.app/sleek-theme/image_sScAOdo0.png) ## Add Image banner to your Collections using Metafields ### **Step 1:** Create **product metafield definitions** You can **add collection banner for desktop and mobile view separately** by setting up **two metafield definitions** for Collections. 1. Go to Shopify **Settings** > **Custom data** > **Collections** 2. Select **Add definition** ![image](https://docs-assets.foxecom.app/sleek-theme/image_zzYQZ2vg.png) 3. Create two definitions with the given namespaces and keys below: * Collection banner for desktop: **foxtheme.collection\_banner** ![image](https://docs-assets.foxecom.app/sleek-theme/image_eIoK392P.png) * Collection banner for mobile: **foxtheme.collection\_banner\_mobile** ![image](https://docs-assets.foxecom.app/sleek-theme/image_AcfAwgti.png) 4. Select **Type** as **File** and click **Save**. ### Add metafield value for collections Once you have created the metafield definitions, go to **Products > Collections** > select the collection you want to add collection banner to. In the **Metafields** section, select an image to be featured and there you have it 🎉 ![image](https://docs-assets.foxecom.app/sleek-theme/image_uH7n71cw.png)