Skip to main content

Media gallery

sections/media-gallery.liquid

Settings​

SettingIDTypeDefaultNotes
Heading
HeadingheadingTextMade with [care]Wrap words in square brackets to highlight them, e.g. Made with [care].
Highlight stylemarkerDropdownunderlineOptions: None, Underline, Filled highlight, Accent color, Italic.
Heading sizeheading_sizeDropdownmediumOptions: Small, Medium, Large.
Heading tagheading_tagDropdownh2Use H2 unless this section follows another heading. Pages should have only one H1. Options: H2, H3, Paragraph (no heading).
Heading alignmentheading_alignmentDropdowncenterOptions: Left, Center, Right.
SubheadingsubheadingText
Intro texttextRich text
Style
Color schemesurfaceDropdownbackgroundOptions: Background, Surface, Primary, Accent.
Rounded tile cornersroundedOn/offOnUses the card corner radius from Theme settings.
Show divider above sectionshow_dividerOn/offOff
Desktop layout
Number of columnscolumns_desktopSlider3Range: 2–6 step 1.
Space between tilesgap_desktopSlider12Range: 0–40 step 2.
Row heightrow_heightSlider400Range: 200–700 step 10.
Keep tile proportions on all screenskeep_ratioOn/offOffTiles size themselves from their column and row span. Row height is ignored when this is on.
Make section full widthfull_widthOn/offOff
Enable side paddingside_paddingOn/offOnAdds left and right padding when the section is full width.
Top paddingpadding_topSlider48Range: 0–120 step 4.
Bottom paddingpadding_bottomSlider48Range: 0–120 step 4.
Mobile layout
Swipe carousel on mobilemobile_carouselOn/offOffTiles scroll sideways instead of stacking. Column and row spans are ignored.
Number of columnscolumns_mobileDropdown1Options: 1, 2.
Space between tilesgap_mobileSlider10Range: 0–24 step 2.
Row heightrow_height_mobileSlider250Range: 150–500 step 10.
Top paddingpadding_top_mobileSlider32Range: 0–120 step 4.
Bottom paddingpadding_bottom_mobileSlider32Range: 0–120 step 4.

Blocks​

Media (media)​

SettingIDTypeDefaultNotes
Media
ImageimageImage
Mobile imageimage_mobileImageFalls back to the image above.
VideovideoVideo (Shopify-hosted)Overrides the image. Use the image above as the poster frame.
Or embed from URLvideo_urlVideo URL (YouTube/Vimeo)Used only when no video is selected above.
Autoplay videoautoplayOn/offOnAutoplaying video is always muted, as browsers require.
Show sound controlshow_sound_controlOn/offOffApplies to autoplaying Shopify-hosted video only.
Video descriptionvideo_altTextDescribes the video for screen readers. Leave empty for purely decorative video.
Tile size
Columns widecolumn_spanDropdown1Ignored in the mobile carousel. Options: 1, 2, 3.
Rows tallrow_spanDropdown1Options: 1, 2, 3.
Content
Content placementcontent_layoutDropdownoverlayOptions: Over the media, Below the media, Above the media.
Position over mediaoverlay_positionDropdownbottomOnly applies when content sits over the media. Options: Top, Center, Bottom.
Content alignmentcontent_alignmentDropdownleftOptions: Left, Center, Right.
IconiconDropdownnoneOptions: None, Leaf, Flower, Water, Feather, Sun, Moon, Heart, Star, Award, Medal, Shield, Earth, Yoga, DNA, Gift, Delivery, Package, Play.
Icon sizeicon_sizeSlider32Range: 16–72 step 4.
SubtitlesubtitleText
TitletitleTextMedia headingWrap words in square brackets to highlight them.
Title sizetitle_sizeDropdownmediumOptions: Small, Medium, Large.
TexttextRich text
Link
Tile linklinkLinkMakes the whole tile clickable. Needs a title to be accessible.
Button labelbutton_labelText
Button linkbutton_linkLink
Button stylebutton_styleDropdownsecondaryOptions: Primary, Secondary, Text.
Open links in a new windowlink_new_tabOn/offOff
Colors
Overlay coloroverlay_colorColor#000000
Overlay opacityoverlay_opacitySlider35Darkens the media so overlaid text stays readable. Range: 0–90 step 5.
Overlay text colortext_colorColor#FFFFFF

Maximum blocks: 12

Presets​

Available in Add section: Media gallery