Milestone documentation

    Loading suggestions…

    ↑↓ to move ↵ to open esc to close

    Documentation

    Layered video and text

    A full-bleed background film with an opaque content panel and a second portrait film layered across both. Copy and the button live in section settings.

    Merchant-addable
    Yes, in supported locations
    Settings
    36
    Block types
    —
    File
    sections/video-with-text.liquid

    Excluded from: header, footer section groups.

    Included in supplied templates: Home

    When to use it

    Demonstrations, founder statements, and anywhere motion explains faster than text.

    Setting it up

    1. Set Content alignment to Left, Center, or Right. The heading, subheading, body text, and single button follow it on desktop and phones. All button styles use regular-weight labels.
    2. Add the section and set the background and feature media.
    3. Fill in Heading, Subheading, and Body text in the section settings.
    4. Under Button, enter a Button label and Button link, then choose Button style: Filled, Outline, or Text link. Leave the label blank to hide the button; a button without a link appears disabled instead of disappearing.
    5. Set the layout, mobile layout, and color schemes.
    6. Videos play automatically by default. The background video control stays hidden until visitors hover over, tap, or tab into the section; turn on Always show background video controls to keep it visible.

    Where the content comes from

    Section settings own the media, all copy, and the button. The section has no blocks.

    Notes and cautions

    • Leave a button link empty to show a disabled placeholder until the destination page exists.
    • Each video loads only when it scrolls into view and plays. Until then its preview image shows, sized for the screen.

    Configure layered video and text

    Section settings own background and feature media, copy, and the single button. Leave Button label blank to hide it. Upload videos or choose Image for a still. An unconfigured feature video offers Shopify’s example video, loaded after activation with a native fallback without JavaScript. Your uploads replace it. The ambient background remains decorative and does not add a second interactive player beneath the copy.

    The decorative full-width background uses a lifestyle placeholder when empty. The foreground video offers Shopify’s example video until you select campaign media.

    Desktop layout

    The Purely example pairs centered copy and a single text link with a portrait feature video on the right. The feature overlaps the content panel, with the decorative background visible around both. Each video has its own playback control.

    Purely Layered video and text on desktop, with the Active, weightless care heading and Discover the ritual link on a dark panel, beside a portrait application video over a pale stone background

    Mobile layout

    With Layout style → Editorial overlap, the copy appears above the feature video on phones, and the video overlaps the lower edge of the content panel. This example uses a portrait mobile crop and retains the complete introduction, link, and playback controls. Choose Stacked under Mobile layout for a separate media and content arrangement.

    Purely Layered video and text on mobile, with centered copy and the Discover the ritual link above a portrait application video overlapping the dark panel, with both playback controls visible

    Configure the button

    The section has no button blocks. Use Button label, Button link, and Button style in the section settings for its single action. This applies to the Purely demo too. Leave Button label blank to hide the action; a label without a link renders a disabled button.

    Align the content

    Content alignment applies Left, Center, or Right to the heading, subheading, body text, and single button on desktop and mobile. Filled and outline buttons span the available width on phones; link buttons follow the selected alignment. Button labels use regular weight for every button style. The chapter marker remains on its decorative side rail.

    Video playback

    With Autoplay videos enabled, each video starts muted when it enters the viewport and pauses when it leaves or the browser tab is hidden. Scrolling away while a clip is loading does not cancel autoplay for the next visit. A visitor’s explicit pause remains in effect. Reduced motion prevents automatic playback; each video retains its own play control.

    Browsers that support Shopify’s adaptive stream use it to match playback to the connection. For the MP4 fallback, phones use a rendition up to 720p when available. The desktop background uses up to 1080p, and the feature uses up to 720p. Mobile feature overrides still use your selected file. If Shopify has only larger renditions, the smallest available is used. Device autoplay restrictions can still require tapping Play.

    Layered video and text design

    100%

    Use the zoom controls, then scroll to inspect the image. Press Escape to close.

    Section settings

    Every setting on the section itself, in the order it appears in the theme editor. Group headings match the editor's own grouping.

    Media and content

    Use section settings for media, copy, the button, and layout.

    Background media typeDropdown
    ID
    background_media_type
    Default
    Video
    • Videovideo
    • Imageimage
    Background videoVideo

    Use a silent looping video. If it includes meaningful spoken content, provide captions, accessible audio controls, or an equivalent alternative. 16:9 aspect ratio recommended.

    ID
    background_video
    Shown when
    background_media_type is 'video'
    Background imageImage

    An image fills the section when you choose Image for Background media type.

    ID
    background_image
    Shown when
    background_media_type is 'image'
    Feature media typeDropdown
    ID
    feature_media_type
    Default
    Video
    • Videovideo
    • Imageimage
    Feature videoVideo

    Use a silent feature video. If it includes meaningful spoken content, provide captions, accessible audio controls, or an equivalent alternative. 4:5 aspect ratio recommended.

    ID
    mp4_video
    Shown when
    feature_media_type is 'video'
    Feature video descriptionText

    Briefly describe meaningful visual action for screen-reader users.

    ID
    feature_video_description
    Shown when
    feature_media_type is 'video'
    Feature imageImage

    An image overlaps the content panel when you choose Image for Feature media type.

    ID
    feature_image
    Shown when
    feature_media_type is 'image'
    HeadingText
    ID
    heading
    Default
    The ritual, in motion
    Heading sizeDropdown
    ID
    heading_size
    Default
    Medium
    • Smallsmall
    • Mediummedium
    • Largelarge
    SubheadingText
    ID
    subheading
    Default
    Texture and technique
    Body textMulti-line text
    ID
    body_text
    Default
    Watch how each layer settles into skin, from a weightless serum that absorbs in moments to a rich cream that seals in lasting moisture.
    Chapter markerText
    ID
    chapter_marker
    Default
    01 — The formula
    Play videos automaticallyCheckbox

    Videos stay muted and pause off screen. Reduced-motion preferences disable automatic playback.

    ID
    video_autoplay
    Default
    On
    Shown when
    background_media_type is 'video' or feature_media_type is 'video'
    Show background video progressCheckbox
    ID
    show_progress_line
    Default
    On
    Shown when
    background_media_type is 'video'
    Always show background video controlsCheckbox

    When off, the play and pause control appears when visitors hover over, tap, or tab into the section.

    ID
    show_background_controls
    Default
    Off
    Shown when
    background_media_type is 'video'

    Button

    Button labelText

    Leave blank to hide the button.

    ID
    button_label
    Default
    Discover the ritual
    Button linkLink

    A button without a link appears disabled.

    ID
    button_link
    Default
    /collections/all
    Shown when
    button_label is set
    Button styleDropdown
    ID
    button_style
    Default
    Text link
    Shown when
    button_label is set
    • Filledfilled
    • Outlineoutline
    • Text linklink

    Layout

    Use translucent content panelCheckbox

    Shows more of the background video through the content surface.

    ID
    overlay_on_video
    Default
    Off
    Feature media positionDropdown
    ID
    video_position
    Default
    Left
    • Leftleft
    • Rightright

    Desktop feature media

    These controls apply to screens 750 px and wider. The Mobile layout settings below control mobile sizing and overlap.

    Desktop feature media widthSlider

    Controls the base feature width on desktop. Square and landscape frames receive additional width for visual balance.

    ID
    feature_width
    Default
    36
    Range
    30% to 38%, in steps of 2%
    Feature media aspect ratioDropdown

    Applies to desktop feature media at 750 px and wider. Use Mobile feature media aspect ratio for narrow screens.

    ID
    feature_aspect_ratio
    Default
    Tall (5:8)
    • Tall (5:8)tall
    • Portrait (4:5)portrait
    • Square (1:1)square
    • Landscape (16:9)landscape
    Desktop media overlapSlider

    Controls how far the feature media crosses the panel edge on desktop without changing the panel width or covering its content.

    ID
    media_overlap
    Default
    8
    Range
    4% to 16%, in steps of 2%
    Content alignmentText alignment
    ID
    content_alignment
    Default
    left

    Mobile layout

    Layout styleDropdown

    Changes the mobile composition without affecting the desktop layout.

    ID
    mobile_layout
    Default
    Editorial overlap
    • Editorial overlapoverlap
    • Stackedstacked
    Show feature media before text on mobileCheckbox

    Reverses the content and feature media order in the Stacked mobile layout.

    ID
    mobile_media_first
    Default
    Off
    Shown when
    mobile_layout is 'stacked'
    Mobile feature media aspect ratioDropdown

    Controls the feature media crop on mobile without changing the desktop proportion.

    ID
    mobile_feature_aspect_ratio
    Default
    Portrait (4:5)
    • Use desktop ratiodesktop
    • Tall (5:8)tall
    • Portrait (4:5)portrait
    • Square (1:1)square
    • Landscape (16:9)landscape
    Use separate mobile feature mediaCheckbox

    Uses a mobile-specific feature asset below 750 px. The mobile asset appears at every size when you leave the desktop asset empty.

    ID
    use_mobile_feature_media
    Default
    Off
    Mobile feature videoVideo

    Select a mobile-optimized video. Leave blank to use the desktop feature video. This asset appears at every size when you leave the desktop video empty.

    ID
    mobile_feature_video
    Shown when
    use_mobile_feature_media and feature_media_type is 'video'
    Mobile feature imageImage

    Select a mobile-optimized image. Leave blank to use the desktop feature image. This asset appears at every size when you leave the desktop image empty.

    ID
    mobile_feature_image
    Shown when
    use_mobile_feature_media and feature_media_type is 'image'

    Appearance

    Section color schemeColor scheme
    ID
    color_scheme
    Default
    scheme-6
    Content panel color schemeColor scheme
    ID
    content_color_scheme
    Default
    scheme-6
    Background shade opacitySlider
    ID
    background_overlay_opacity
    Default
    10
    Range
    0% to 50%, in steps of 5%
    Show entrance animationCheckbox

    Uses the global motion style and respects reduced-motion preferences.

    ID
    enable_entrance_animation
    Default
    On
    Top paddingSlider
    ID
    padding_top
    Default
    56
    Range
    0px to 120px, in steps of 4px
    Bottom paddingSlider
    ID
    padding_bottom
    Default
    56
    Range
    0px to 120px, in steps of 4px