Documentation

Zoom on scroll section: an image that expands to full screen

Grow an image or video from a rounded frame to full screen as the customer scrolls, and reveal your text on top of it.

The Zoom on scroll section shows an image (or a video) in a frame smaller than the screen. As the customer scrolls, the frame grows until it fills the whole screen, and your heading appears on top. It's a spectacular opening effect to present your craftsmanship, a new collection or a hero product, in the middle of the home page.

On the Darly demo, the image of an ear adorned with jewelry starts in a frame in the middle of the page:

The start of the effect on the Darly demo: the photo of an ear with a hoop and a star stud, in a frame in the middle of the page, surrounded by beige
The start of the effect on the Darly demo: the photo of an ear with a hoop and a star stud, in a frame in the middle of the page, surrounded by beige

Halfway through, the frame has almost filled the screen and the text starts to appear:

The effect halfway through: the image takes up almost the whole screen, the heading "Every detail counts" fading in
The effect halfway through: the image takes up almost the whole screen, the heading "Every detail counts" fading in

At the end, the image is full screen and the text is readable, with its button:

The end of the effect: the image full screen with the subheading "Hand-polished", the heading "Every detail counts", a text and the button "The Vicenza workshop"
The end of the effect: the image full screen with the subheading "Hand-polished", the heading "Every detail counts", a text and the button "The Vicenza workshop"

The presets

Expanding image

The only preset: an image that starts at 60% of the screen width, with a subheading, a large centered heading, a text and a Discover button on top. A 30% black overlay keeps the text readable.

The Expanding image preset at the end of the effect: a full-screen illustration with the heading "Made in small batches.", a text and a Discover button
The Expanding image preset at the end of the effect: a full-screen illustration with the heading "Made in small batches.", a text and a Discover button

On mobile, the image starts at 85% of the width: the effect is more subtle, and the text wraps onto several lines.

The preset on mobile: the full-screen illustration with the heading and button centered
The preset on mobile: the full-screen illustration with the heading and button centered

Here is the Darly section on mobile, at the end of the effect:

The Darly demo Zoom on scroll section on mobile: the ear in close-up with the heading "Every detail counts" and the button "The Vicenza workshop"
The Darly demo Zoom on scroll section on mobile: the ear in close-up with the heading "Every detail counts" and the button "The Vicenza workshop"

Add the section

  1. In your Shopify admin, open Online Store > Themes and click Edit theme.
  2. Choose the template from the menu at the top (for example Home page).
  3. Click Add section, open the Scroll effects category and choose Expanding image.
  4. Click the section and choose the Image in the Media group (or a Video).
  5. Edit the heading, text and button by clicking their blocks.
  6. Click Save.
Screenshot to take — Shopify theme editor > Home page > Zoom on scroll section selected: right-hand panel showing the Media (Image, Video) and Scroll effect (Starting size, Corners, Scroll length, Text effect) groups

The section's blocks

BlockWhat it's for
HeadingThe subheading and the large heading placed on the image.
TextA paragraph under the heading.
ButtonThe link to a collection, a page or a product.

You can add other blocks from the theme (badge, checklist, countdown…) with Add block: they all appear on top of the image.

The section settings

Media group:

  • Image: it also covers the video while it loads; its focal point keeps the subject framed on every screen.
  • Video: a video instead of the image.

Media on mobile group: an Image and a Video specific to mobile, optional (the desktop media is used when they're empty).

Scroll effect group:

  • Starting size: the frame size at the start of the effect, from 30 to 95% (60%), and Starting size on mobile (85%).
  • Corners: Custom by default with Corner radius at 24 px, or Theme: the frame's rounding at the start of the effect.
  • Scroll length: how far the page scrolls while the image grows, as a % of the screen height (150%). The larger it is, the slower the effect.
  • Text effect: Appears as the media grows (default), Fades as the media grows or None.

Content group:

  • Horizontal alignment and Vertical alignment of the text (centered by default).
  • Content max width (760 px), Space around the content and its mobile version.
  • Overlay opacity (30%) and Overlay colour (black).

Section group: Color palette, which sets the background color around the image at the start of the effect (Darly's beige). Then Separators (Understand the theme editor).

Tips and pitfalls

  • Choose a wide, very sharp image, at least 2000 px wide: it ends up full screen.
  • Place the subject in the center or set the image's focal point: at the start of the effect, only the center is visible in the small frame.
  • Check the text contrast on the image at the end of the effect; increase the Overlay opacity if the heading is hard to read.
  • Only one section of this kind per page: the effect loses its impact if it repeats.
  • If you choose a video, add an image too: it shows while the video loads.
  • Avoid putting it as the very first section: the effect reveals itself as you scroll.

Learn more