Media gallery

A clean media gallery section that showcases images and videos in a structured layout, helping highlight products, categories, or brand visuals in an engaging way.
How to add a Media gallery section to your Shopify store
In the theme editor (Customize), click Add section.
Select Media gallery section.
Make necessary changes.
Save.
How to customize a Media gallery section
Section settings
Layout
Container
Choose the layout width of the section (full width or fixed width).
Type
Select how media items are displayed (grid or carousel).
Columns
Set the number of columns shown in the grid layout.
Horizontal gap
Adjust the spacing between items horizontally.
Vertical gap
Adjust the spacing between items vertically.


Mobile layout
Enable swipe on mobile
Allow users to swipe through items on mobile devices.
Custom column width
Enable custom sizing for columns instead of equal widths.
Mobile columns
Choose the number of columns displayed on mobile devices.
Mobile horizontal gap
Adjust spacing between items horizontally on mobile.



Check out other section settings: Common settings available in most sections
Block settings
The Media gallery section includes two blocks: a Header block and multiple Gallery item blocks for displaying media content.

Use the Header block to create and customize the section’s heading and introductory content.
Alignment
Set the header alignment: left, center, or right.
Devices
Switch between desktop and mobile padding settings.
Bottom
Adjust the spacing below the header.
📦 Nested dynamic blocks
Heading – Add a main title
Subheading – Provide supporting text above or below the heading
Text – Include additional descriptions or details
Image – Display an image or icon
Button – Add a call-to-action
📝 Learn more: Basic

A gallery item block that displays an image or video with a customizable title, helping organize and highlight content within the media gallery.
Type
Select the media type to display (image or video).
Image
Upload or choose the image shown in the gallery item.
Heading
Add a title or label displayed with the gallery item.
Preset
Choose the text style for the heading.
Corner radius
Adjust the roundness of the gallery item corners.
Gallery item images don’t have a ratio setting; they’ll default to a 1:1 (square) ratio. For the best results, we recommend uploading square images.
Last updated