> For the complete documentation index, see [llms.txt](https://shinedezign.gitbook.io/metro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shinedezign.gitbook.io/metro/overview/media-with-text.md).

# Media with text

### Configure the media with text

Select the customize theme option. Click on the dropdown menu at the top of the page to select the **Home page** template.

From the left side menu, select **Media with text.**

Customize the section by utilizing the settings on the right side of the theme editor, as described below:

<table data-header-hidden><thead><tr><th width="248"></th><th></th></tr></thead><tbody><tr><td> General</td><td><strong>Section visibility</strong><br>Select from the options to select the visibility of this section:<br>-Always<br>-Small (On selecting this, the section will be visible on mobile devices only.)<br>-Large (On selecting this, the section will be visible on large devices only.)<br><br><strong>Color scheme</strong><br>Select any color scheme defined in the theme settings>Colors>Schemes.<br><br><strong>Background</strong><br>Choose the section background from below options:<br>- Solid<br>- Gradient<br><br><strong>Container width</strong><br>Choose the container width from below options:<br>- Small<br>- Standard<br>- Wide<br>- Edge<br>- Fullwidth</td></tr><tr><td>Section spacing</td><td><p><strong>Choose from</strong><br>Choose spacing for:<br>- Desktop<br>- Mobile<br><br><strong>Desktop: Top spacing</strong><br>Adjust the range bar to add spacing at the top of the section for desktop view.<br></p><p><strong>Desktop: Bottom spacing</strong><br>Adjust the range bar to add spacing at the bottom of the section for desktop view.<br></p><p><strong>Mobile: Top spacing</strong><br>Adjust the range bar to add spacing at the top of the section for mobile view.<br></p><p><strong>Mobile: Bottom spacing</strong><br>Adjust the range bar to add spacing at the bottom of the section for mobile view.</p></td></tr><tr><td>Primary/Secondary media</td><td><p><strong>Media type</strong><br>Choose the media type from below options:<br>- Image<br>- Video<br><br><strong>Image</strong><br>Choose any image from the store library.<br><br><strong>Video</strong></p><p>Choose any video from the store library.</p></td></tr><tr><td>Content</td><td><strong>Vertical alignment</strong><br>Choose the vertical alignment from below options:<br>- Top<br>- Middle<br>- Bottom<br><br><strong>Text alignment</strong><br>Choose the text alignment from below options:<br>- Left<br>- Center<br>- Right</td></tr><tr><td>Desktop layout</td><td><strong>Enable animation</strong><br>Select this checkbox to enable the animation of media.<br><em>(<strong>Note</strong>: It works only when both media are present.)</em><br><br><strong>Desktop media position</strong><br>Choose the media position from below options:<br>- Media first<br>- Media second<br><br><strong>Media height</strong><br>Choose the media height from below options:<br>- Adapt to first media<br>- Adapt to image<br>- Square<br>- Portrait<br>- Portrait slim<br>- Landscape<br>- Custom height<br><br><strong>Custom height</strong><br>Adjust the range bar to choose the height for desktop.<br><br><strong>Card radius</strong><br>Adjust the range bar to determine the card's radius.<br><em>(<strong>Note</strong>: Radius is automatically optimized for mobile.)</em></td></tr><tr><td>Mobile layout</td><td><strong>Text alignment</strong><br>Choose the text alignment from below options:<br>- Left<br>- Center<br>- Right<br><br><strong>Media height</strong><br>Choose the media height from below options:<br>- Adapt to first media<br>- Adapt to image<br>- Square<br>- Portrait<br>- Portrait slim<br>- Landscape<br>- Custom height<br><br><strong>Custom height</strong><br>Adjust the range bar to choose the height for mobile.</td></tr></tbody></table>

### Block settings

<table data-header-hidden><thead><tr><th width="245"></th><th></th></tr></thead><tbody><tr><td>Subheading</td><td>Add subheading text. </td></tr><tr><td>Heading</td><td><p><em><strong>Heading</strong></em> </p><p><em>Add heading text.</em> <br><em>(<strong>Note</strong>: Enter ++ for a line break and wrap text in [ ] to apply the highlight settings.)</em><br><br><strong>Heading tag</strong><br>Specify heading code types from H1-H6, div, span or p tag for SEO and search engines for crawling purposes.<br><br><strong>Heading size</strong><br>Select the font size from the following options:<br>- Heading XL<br>- Heading L<br>- Heading M<br>- Heading S<br>- Heading XS<br>- Heading XXS<br><br>Highlight text<br><strong>Highlight style</strong><br>Choose the style from following options:<br>- None<br>- Underline<br>- Text color<br>- Gradient<br><br><strong>Font</strong><br>Choose the text font family from the following options:</p><p>- Heading <br>- Body <br>- Accent <br>(<em><strong>Note</strong>: These fonts can be changed in theme settings>typography.)</em><br><br><strong>Highlight</strong> <strong>color</strong><br>Choose any solid or gradient color for the heading's highlight text.</p></td></tr><tr><td>Text</td><td><p><strong>Text</strong></p><p>Add description text.  <br><br><strong>Text font size</strong><br>Choose the font size from following options:<br>- Extra Large<br>- Large<br>- Medium<br>- Regular<br>- Small<br>- Extra small</p></td></tr><tr><td>Button</td><td><strong>Button text</strong><br>Enter the button label.<br><em>(Note: Leave the label blank to hide the button.)</em><br><br><strong>Button link</strong><br>Add the button link to redirect it.<br><br><strong>Open in new tab</strong><br>Select this checkbox to open the button link in next tab of browser.<br><br><strong>Button style</strong><br>Choose the button style from the following options:<br>- Primary button<br>- Secondary button<br>- Primary outline button <br>- Secondary outline button <br>- Link </td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://shinedezign.gitbook.io/metro/overview/media-with-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
