Flexible section
The Flexible Section is a multi-purpose content block that lets you design rich layouts without needing to edit any code.
You can combine images, text, buttons, and other elements in different arrangements to highlight promotions, collections, or brand stories anywhere on your store.
This section is designed to help you:
- Reuse one section for many use cases – hero banners, promo strips, feature highlights, storytelling blocks, and more.
- Control layout and alignment – adjust content width, spacing, and position so the section fits naturally into any page.
- Stay on brand – inherit global theme settings (colors, typography, rounded corners) while still allowing per-section overrides when needed.
- Stay responsive – the layout automatically adapts to different screen sizes so your content looks good on desktop, tablet, and mobile.
Use the Flexible Section when you want a highly customizable block that can adapt to different campaigns and page layouts, instead of adding multiple single-purpose sections.
Section settings
General settings
| Setting | Description |
|---|---|
| Section width | 3 options for container |
| Color scheme | Choose colors from the predefined palette in Colors to ensure consistency with your store’s overall design scheme. |
Layout
These settings control how content inside the Flexible Section is arranged and how much space it occupies on the page.
Layout & Dimension Settings
| Setting | Description |
|---|---|
| Direction | Controls the fundamental arrangement of the content blocks within the section: |
| Vertical on Mobile | Only visible when Direction is Horizontal AND Carousel is OFF. |
| Content Wrap | Only visible when Layout Direction is Horizontal. |
| Height | Defines the minimum height of the entire section on the page: |
| Custom Height | Only visible when Section Height is set to Custom. |
| Gap | Sets the spacing (gutter) between the content blocks within the section, measured in pixels (px). |
Mobile settings
| Carousel on Mobile | Applies To | Description |
|---|---|---|
| Carousel on Mobile | Both | A checkbox that, when enabled, converts the content layout into a swiper/carousel on mobile devices, allowing horizontal scrolling of blocks. |
| Items per row | Mobile Carousel | Only visible when Carousel is ON. |
| Column gap | Mobile Carousel | Only visible when Carousel is ON. |
Alignment Settings
These settings control the positioning of content blocks within the section, based on the chosen Layout Direction.
| Setting | Applies To | Description |
|---|---|---|
| Vertical Position | Vertical Layout | Controls the vertical arrangement of blocks (main axis alignment): |
| Vertical Alignment | Vertical Layout | Controls the horizontal alignment of blocks (cross-axis alignment): |
| Horizontal Position | Horizontal Layout | Controls the vertical alignment of blocks (cross-axis alignment): |
| Horizontal Alignment | Horizontal Layout | Controls the horizontal arrangement of blocks (main axis alignment): |
Appearance Settings
These settings control the visual styling, background media, and container shape of the section.
| Setting | Description |
|---|---|
| Background Media | Choose the type of media to use as the section's background: |
| Image | Only visible when Background Media is Image. |
| Local Video | Only visible when Background Media is Video. |
| Block Padding | Only visible when Background Media is not None. |
| Corner Radius | Controls the rounding of the section's corners: |
| Custom Radius | Only visible when Corner Radius is Custom. |
| Enable Background Overlay | Check this box to activate an overlay layer that sits above the background media (image/video) but beneath the section content. This is useful for improving text contrast. |
| Overlay Color | Only visible when Enable Background Overlay is checked. |
| Overlay Style | Only visible when Enable Background Overlay is checked. |
| Gradient Direction | Only visible when Overlay Style is Gradient and Enable Background Overlay is checked. |
Section spacing and Padding
These settings control the outer spacing (padding) applied directly to the top and bottom of the entire section container.
| Setting | Description |
|---|---|
| Top | Customize the top margin of the section |
| Bottom | Customize the bottom margin of the section |
Section divider
| Setting | Description |
|---|---|
| Show divider | Display a dividing line to separate from the previous section. |
Content Blocks
The Flexible Section allows you to add and arrange various types of content blocks to create rich, customized layouts. Here is a breakdown of the available blocks:
Basic Content Blocks
These blocks form the fundamental building blocks of almost any content section.
Custom Blocks
- Custom Liquid : Provides a flexible space to input raw Liquid, HTML, CSS, or JavaScript code. This is for advanced users to implement custom design elements or complex features.
- App block: A special block type reserved for Shopify Apps to inject dynamic content or functionality directly into the section via app extensions.
Decorative Blocks
Forms Blocks
Layout Blocks
- Accordion
- Group : acts as a flexible container that allows you to nest multiple other blocks inside it. This is essential for applying layout rules (Horizontal/Vertical) and dedicated styling (Color Scheme, Background Image, Padding) to a specific cluster of content.
- Spacer
- Tab
No comments yet