Skip to main content

Background video

Supported blocks​

  • heading
  • text
  • button
  • badge
  • stars
  • steps
  • countdown-timer
  • discount-code
  • newsletter-form
  • nav
  • payment-icons
  • columns
  • video

Settings​

SettingIDTypeDefaultDescription
Full widthfull_widthcheckboxfalse
Enable inner spacingenable_spacingcheckboxtrue
Block classclasstextpy-4 lg:py-6
Backgroundbgcolor_backgroundSupports solid or gradient colors.
Use theme background schemabg_schemacheckboxfalse
Fixed backgroundbg_attachmentcheckboxfalse
Layoutlayoutselectoverlay
Video width (desktop)video_widthselectlg:w-1/2Only used when the layout is text left or text right.
Gap (desktop)gaprange4
Gap (mobile)gap_mobrange2
Styleoverlay_styleselectfull
Overlay backgroundoverlay_bgcolor_backgroundlinear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3) 100%)Applied to the whole overlay (Tint) or to the text box (Box). Supports solid or gradient colors.
Content positionoverlay_alignselectitems-center justify-center
Text widthtext_widthrange45Width of the text area inside the overlay, as a percentage.
Overlay radiusoverlay_radiusselectrounded-md
Show play buttonshow_playcheckboxtrueA play button under the overlay text. Starts the video it sits on.
Play button alignmentplay_alignselectjustify-center

Option values​

  • Layout (layout): Text left (text-left), Text right (text-right), Text overlay video (overlay)
  • Video width (desktop) (video_width): 40% (lg:w-2/5), 50% (lg:w-1/2), 60% (lg:w-3/5)
  • Style (overlay_style): Tint (full), Box (box), Text shadow (shadow), Text shadow and tint (full shadow), No overlay background (none)
  • Content position (overlay_align): Top left (items-start justify-start), Top center (items-start justify-center), Top right (items-start justify-end), Center left (items-center justify-start), Center (items-center justify-center), Center right (items-center justify-end), Bottom left (items-end justify-start), Bottom center (items-end justify-center), Bottom right (items-end justify-end)
  • Overlay radius (overlay_radius): Square (rounded-none), Rounded small (rounded-md), Rounded medium (rounded-xl), Rounded large (rounded-2xl), Rounded extra large (rounded-3xl), Squircle (rounded-squircle), Circle (rounded-circle), Pill (rounded-full), Rounded top (rounded-top), Rounded bottom (rounded-bottom), Single corner (rounded-corner), Diagonal corners (rounded-diagonal), Arch (rounded-arch), Dome (rounded-dome), Cylinder (rounded-cylinder), Barrel (rounded-barrel), Leaf pointed (rounded-leaf-point), Leaf (rounded-leaf), Lens (rounded-lens), Petal (rounded-petal), Egg (rounded-egg), Egg inverted (rounded-egg-inverted), Shield (rounded-shield), Drop (rounded-drop), Diamond (rounded-diamond), Blob (rounded-blob), Amoeba (rounded-amoeba), Flower (rounded-flower), Mountain (rounded-mountain), Pebble (rounded-pebble), Bean (rounded-bean), Cloud (rounded-cloud)
  • Play button alignment (play_align): Left (justify-start), Center (justify-center), Right (justify-end)

Presets​

  • Background video

💡 Edit via Shopify Admin → Online Store → Themes → Customize.