> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starfy.io/savvy-theme/llms.txt
> Use this file to discover all available pages before exploring further.

# Media with text overlay

![Savvy Media With Text Overlay](https://mintcdn.com/starfy/2vy_hA8YZPMbkpWD/savvy-theme/images/savvy-media-with-text-overlay.png?fit=max\&auto=format\&n=2vy_hA8YZPMbkpWD\&q=85\&s=1f545799db306d8bfc5b97f68a2748d6)

The **Media with text overlay** section combines an image or video with text displayed directly over the media. It is designed for creating visually prominent banners, promotional messages, campaigns, and calls to action.

> [!NOTE]
>
> In the **Shopify Theme Editor**, choose **Sections**, add or select **Media with text overlay** to edit its settings. Changes appear in the preview. Click **Save** to publish them.

## **Section settings**

![Savvy Media With Text Overlay Settings](https://mintcdn.com/starfy/2vy_hA8YZPMbkpWD/savvy-theme/images/savvy-media-with-text-overlay-settings.png?fit=max\&auto=format\&n=2vy_hA8YZPMbkpWD\&q=85\&s=6da0ab16c67744e67f610ced13ad74e5)

#### **Media**

Media controls the visual content displayed in the section.

* **Media type:** Choose the type of media displayed in the section: **Image** or **Video**.
  * When **Image** is selected, you can choose:
    * **Image:** Select the main image displayed on desktop.
    * **Mobile image:** Select a separate image for mobile devices.
  * When **Video** is selected, you can choose:
    * **Video:** Select the video to display.
* **Link:** Add a link to the media. Visitors can click the media to navigate to the selected destination.
* **Open in new tab:** Enable this setting to open the media link in a new browser tab.
* **Content width:** Control the maximum width available for the text content displayed over the media.
  * **Page:** Use the page content width.
  * **Fluid:** Allow the content to use more available horizontal space.
* **Color scheme:** Choose the color scheme used by the text content. The available color schemes depend on the color schemes configured in your theme settings.
* **Media overlay:** Add an overlay over the media to improve the readability of text displayed on top of it.
  * **Overlay color:** Set the color of the overlay.
  * **Overlay style:** Choose **Solid** or **Gradient**.
    * **Gradient direction:** When using **Gradient**, choose **Up** or **Down**.

#### **Layout**

Layout controls the position of the text content within the media.

* **Alignment:** Control the horizontal alignment of the content: **Left**, **Center**, or **Right**.
* **Position:** Control the vertical position of the content within the media: **Top**, **Center**, or **Bottom**.
* **Height:** Controls the overall height of the banner media.
  * **Auto:** Automatically adjusts the media height based on its content. Available options:
  * **Small:** Uses a shorter media height.
  * **Medium:** Uses a medium media height.
  * **Large:** Uses a taller media height.
  * **Fit screen:** Makes the media fit the screen height.
  * **Custom:** Lets you define a custom height.
    * When Custom is selected, use **Custom height** to set the height from **0% - 100%**.

#### **Padding**

Padding controls the amount of space around the content displayed over the media.

* **Top bottom:** Control the vertical padding on desktop.
* **Left right:** Control the horizontal padding on desktop.
* **Mobile top bottom:** Control the vertical padding on mobile.
* **Mobile left right:** Control the horizontal padding on mobile.

Desktop padding values range from:

* **None**
* **Extra small**
* **Small**
* **Medium**
* **Large**
* **Extra large**
* **2X Large**
* **Custom**
  * **Custom top bottom:** Set a value from **0–400px**.
  * **Custom left right:** Set a value from **20–400px**.

Mobile padding values range from:

* **None**
* **Extra small**
* **Small**
* **Medium**
* **Large**
* **Extra large**
* **2X Large**
* **Custom**
  * **Custom mobile top bottom:** Set a value from **0–400px**.
  * **Custom mobile left right:** Set a value from **20–400px**.

## **Block settings**

### **Content**

Content controls the text and button displayed over the media.

#### **Content**

![Savvy Media With Text Overlay Content](https://mintcdn.com/starfy/2vy_hA8YZPMbkpWD/savvy-theme/images/savvy-media-with-text-overlay-content.png?fit=max\&auto=format\&n=2vy_hA8YZPMbkpWD\&q=85\&s=4ff83f835aad485575707468d8c7876c)

* **Heading:** Add the main heading for the media.
* **Heading tag:** Choose the HTML heading level used for the heading, from **H1** through **H6**, **div**, **span** and **p**.
* **Heading size:** Control the visual size of the heading independently from its HTML heading tag. Available sizes range from **Large**, **Extra large**, **2X large** to **10X large**.
* **Subheading:** Add supporting text above the heading.
* **Description:** Add additional text below the heading.
* **Custom width:** Control the maximum width of the section header.
  * **Maximum width:** Choose from **200–1400px**.

**Highlighted heading**

Highlighted heading lets you emphasize part of the heading with a highlight effect.

* **Highlight effect:** Choose the effect applied to the highlighted heading text. Available options include:
  * **None**
  * **Underline**
  * **Maker**
  * **Tilt**
  * **Outline**
  * **Block**
  * **Brush**
  * **Tape**
* **Highlight tag:** Choose which text in the heading should receive the highlight effect based on the text's formatting tag: **Bold**, **Italic**, or **Link**.
* **Highlight color:** Choose the effect color used for the highlighted text.
* **Highlight text color:** Choose the color for the highlighted text. Clear this setting to inherit the color scheme. For partial backgrounds, only the covered text uses this color.
* **Remove original text formatting:** Removes bold, italic, and link underline from highlighted text while preserving the original HTML tag.

### **Block group**

The Button group block controls how multiple buttons are displayed within the media.

* **Fill available width:** Make buttons grow to fill the available space. This setting works only when there is **more than one button** and automatically makes the buttons equal in width whenever possible.

#### **Button**

The Button block lets you add a call-to-action button to the media. You can add multiple Button blocks when you want to provide more than one action.

* **Label:** Set the text displayed on the button.
* **Link:** Set the destination of the button.
* **Open in new tab:** Open the destination in a new browser tab.
* **Button style:** Choose **Solid**, **Outline**, or **Link**.
* **Minimum width:** Set the minimum width of the button. Set the value to **0** to use automatic width. This setting does not apply to the **Link** style, and the button width is automatically optimized on mobile.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.