# Media with collection

<figure><img src="/files/7eGwVOyPeOZAacQU6c0G" alt=""><figcaption></figcaption></figure>

The Media with Collection section takes storytelling to the next level.&#x20;

This innovative feature seamlessly combines a captivating image/video with a curated product list, creating a dynamic and impactful way to showcase your offerings.

## How to add a Media with collection section

{% hint style="success" %}
**Steps:**

1. In the theme editor (Customize), click **Add section**.
2. Select the **Media with collection** section.
3. Make necessary changes.
4. **Save** the settings.
   {% endhint %}

## How to edit a Media with collection section

### Section settings

#### Section header

Use the provided text fields to add a suitable **Heading**.

* Leave it blank if you do not want to display it

You can also change the **Heading size** to:

* Heading xs
* Heading sm
* Heading md
* Heading lg
* Heading xl
* Heading 2xl
* Display md
* Display lg
* Display xl

<figure><img src="/files/4E1rL6SUByljsMHSigNc" alt=""><figcaption></figcaption></figure>

#### Highlight text

[How to apply Highlight text to the section heading and block headings?](/sleek-theme/pages-global-sections/general-settings.md#highlight-text)

Use the provided text fields to add a suitable **Subheading** and **Description**.

* Leave them blank if you do not want to display them

<figure><img src="/files/aEuSH382Nj38X5zFxdxd" alt=""><figcaption></figcaption></figure>

* **Collection**: Select a collection to display the product list alongside the video/image. This allows viewers to instantly identify the products featured in the video and explore them further.
* **Maximum products to show**: Set the maximum number of products to show on the list (between 2-6 products).
* **Number of columns on desktop**: 1-2 columns.

<figure><img src="/files/6aghEBk8MnFWlEFCOpnd" alt=""><figcaption></figcaption></figure>

#### Mobile layout

* **Number of columns on mobile**: The product list will be displayed below the media on mobile view. Set the product grid to show on 1-2 columns.
* **Enable swipe on mobile**: Make the product list swipeable on mobile view.

<figure><img src="/files/HDvjAtq54PCEzfdRxGga" alt=""><figcaption></figcaption></figure>

#### Image settings

* **Desktop media position**: Control whether the media is on the left or right side of the chosen product list on the desktop view.

<figure><img src="/files/rryXQIoxbXF6h0CGi4pz" alt=""><figcaption></figcaption></figure>

#### Product cards

* **Image ratio**: Adjust the image ratio of the product cards to 1 of the following values:
  * Use global settings (Theme settings > [Product card](/sleek-theme/theme-settings/product-cards.md))
  * Adapt to image
  * Square
  * Portrait
  * Landscape

<figure><img src="/files/Z7vunOQC54vnsSNOUSRI" alt=""><figcaption></figcaption></figure>

### Block settings

You can add a maximum of 1 block to the **Media with collection** section.

<figure><img src="/files/5z0ZqQhbUzOvtQdO2s5B" alt=""><figcaption></figcaption></figure>

There are 3 types of blocks:

* [Image](#image)
* [Video](#video)
* [Image card](#image-card)

If you want to add a plain image beside the product list, use block **Image**.

If you want to add an image with text over/under the image, use block **Image card**.

<figure><img src="/files/wPGMvz4KgLpgepU6TH3d" alt=""><figcaption></figcaption></figure>

#### Image

* **Image**: Select an image to display as the featured media.
* **Image ratio:** Set the image ratio of the featured image:
  * Adapt to image
  * Square (1:1)
  * Portrait (3:4)
  * Landscape (4:3)&#x20;

<figure><img src="/files/Hu1XonQpyhRRdg8ndlbo" alt=""><figcaption></figcaption></figure>

#### Video

Showcase a Shopify-hosted video, or embed video from URL.

* **Video**: Select a video that you've uploaded to Shopify Files or insert a YouTube or Vimeo video URL.

<figure><img src="/files/hh0J0Tsjee1cJbOut6tc" alt=""><figcaption></figcaption></figure>

* **Cover image**: Select a cover image for the featured video.
* **Video ratio**: Set the image ratio of the featured video:
  * Adapt to image
  * Square (1:1)
  * Portrait (4:5)
  * Landscape (4:3)&#x20;
  * Widescreen (16:9)
  * Vertical (9:16)

<figure><img src="/files/21iCF5Z8zDRXUmDJYGsO" alt=""><figcaption></figcaption></figure>

* **Video alt text**: Describe the video for customers using screen readers.
* **Enable video autoplay**: Video are muted automatically to allow autoplay.
* **Enable video looping**: Video is looped automatically.

<figure><img src="/files/3dSNonMfD6kwoQUyWnGV" alt=""><figcaption></figcaption></figure>

#### Image card

Click **Select image** to assign the image to the card media and use the slider to change the **Image overlay opacity**.

Select the card's **Image ratio** as:

* Adapt to image
* Square (1:1)
* Portrait (3:4)
* Landscape (4:3)

<figure><img src="/files/ngfmzzLSviUynpezfBpZ" alt=""><figcaption></figcaption></figure>

Add some text for the banner’s **Heading.** Leave it blank if you do not want to display it.

You can also change the **Heading size** to:

* Heading xs
* Heading sm
* Heading md
* Heading lg
* Heading xl
* Heading 2xl
* Display md
* Display lg
* Display xl

to make your image card block look more balanced.

<figure><img src="/files/6D5gkwAHJq7X9eQLw1A3" alt=""><figcaption></figcaption></figure>

In **Highlight text:**

{% hint style="info" %}
See: [How to apply Highlight text to the section heading and block headings?](/sleek-theme/pages-global-sections/general-settings.md#highlight-text)
{% endhint %}

Use the provided text fields to add a suitable **Subheading** and **Description**.

* Leave them blank if you do not want to display them

<figure><img src="/files/1eP5ZEbLc5O4o9Zofsco" alt=""><figcaption></figcaption></figure>

Add a call-to-action button that directs customers to the target page specified in the **Card link** field. Add a **Label** then choose a **Button style** (Primary button/ Secondary button/ Underline button)**.**

<figure><img src="/files/Z0qLCDSKnbHljgGvrlV3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Fmzjf8ffZTtiEMKJXYwl" alt=""><figcaption></figcaption></figure>

Furthermore, you can also modify the look as well as the position of the content by changing these properties:

* **Content position**: Top left/ Top center/ Top right/ Middle left/ Middle center/ Middle right/ Bottom left/ Bottom center/ Bottom right
* **Content alignment**: Left/ Center/ Right
* **Content spacing**: Small/ Medium/ Large

<figure><img src="/files/BhAZfvbX2rFQvOVYbcpm" alt=""><figcaption></figcaption></figure>

In **Mobile settings**:

If you want to display a different card image on the mobile device, you can insert another image to the **Image** field.

You are able to display the content below or above the collapsible tabs by enabling/disabling the **Show content below image** checkbox.

<div><figure><img src="/files/6jv6k68WbQOFr2sHpUnE" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/TWJpdCBC1hOvRjjPm8Vw" alt="" width="375"><figcaption></figcaption></figure></div>

Moreover,  the block also allows you to change **Content alignment** on mobile.

<figure><img src="/files/QgSXUyRRZImzXHVByplk" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/sleek-theme/theme-sections/media-with-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
