Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

Search
Galleries & detail viewing

Separate webpage image layers

Separate the top, middle and bottom portions, then put them together. These are slices of a page capture and can illustrate reading order.

Identify the screenshot region represented by each layer. Actual assembly guidance requires approved parts diagrams and instructions; these layers illustrate reading order.

The layers went from assembled to expanded and back. Reduced motion retained the same operation.

Reproduce the test and inspect the readings

Toggle the first image’s layers twice and read its expanded state.

908 and 316 px, both preferences
false then true then false

WESWOO loaded this example’s published HTML, CSS and JavaScript in standalone Chrome at 700 px viewport height. Both motion preferences were tested at each width.

2026-11-24 · Chrome 157.0.8103.79

Download test conditions and raw readings (JSON)

View the phone and desktop observations

WESWOO · 24 November 2026. We enabled reduced motion at phone width and used the default motion setting at desktop width. These observations come from the live example.

Window / preview widthActionObserved result
390 / 316 pxSeparate image layersAfter switching the first SHOKZ image, its button changed to Reassemble image layers.
1440 / 908 pxSeparate image layersAfter switching the first SHOKZ image, its button changed to Reassemble image layers.

Preparing preview

How the effect works

How to use

Explore expandable reading layers beside screenshots; not a DOM reconstruction.

Example source code

View 3 source filesHTML · CSS · MJS
assembly-explorer.html
<section class='fx gallery' lang='en'><div class='rail'><article class='card'><div class='slices' role='img' aria-label='SHOKZ WESWOO project page screenshot'><span class='slice top' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/shokz-openfit-preview.webp)'></span><span class='slice mid' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/shokz-openfit-preview.webp)'></span><span class='slice bottom' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/shokz-openfit-preview.webp)'></span></div><p class='brand'>SHOKZ · WESWOO project page screenshot</p><button type='button' data-expand aria-expanded='false'>Separate image layers</button></article><article class='card'><div class='slices' role='img' aria-label='FMS WESWOO project page screenshot'><span class='slice top' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/fms-preview.webp)'></span><span class='slice mid' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/fms-preview.webp)'></span><span class='slice bottom' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/fms-preview.webp)'></span></div><p class='brand'>FMS · WESWOO project page screenshot</p><button type='button' data-expand aria-expanded='false'>Separate image layers</button></article><article class='card'><div class='slices' role='img' aria-label='INIU WESWOO project page screenshot'><span class='slice top' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/iniu-preview.webp)'></span><span class='slice mid' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/iniu-preview.webp)'></span><span class='slice bottom' style='--pic:url(https://www.weswoo.com/wp-content/themes/weswoo/assets/images/case-brands/project-previews/iniu-preview.webp)'></span></div><p class='brand'>INIU · WESWOO project page screenshot</p><button type='button' data-expand aria-expanded='false'>Separate image layers</button></article></div><nav class='dots'><button data-dot aria-label='1' aria-pressed='true'></button><button data-dot aria-label='2' aria-pressed='false'></button><button data-dot aria-label='3' aria-pressed='false'></button></nav></section>

Integration and checks

Theme integration

3 steps
  1. Duplicate the theme

    Integrate and preview the example in a duplicate theme.

  2. Connect the section settings

    Replace demo copy and artwork with section settings and scope the styles to that section.

  3. Connect the editor lifecycle

    Use the lifecycle script for editor reloads, pausing offscreen and cleanup on unload.

Placement

  • Shows layers of the screenshot image itself, not source-page DOM or navigation structure.

Interaction

  • Three slices use the original screenshot’s top, middle and bottom thirds and reassemble into the full page image.

Touch and accessibility

  • Without scripting the strips stay adjacent and the full screenshot remains recognizable.

Setup notes for this effect

Replace sample images with imagery you may use, then test the interaction in the theme editor and on phones.

Before launch

Integration files
sections/ww-effect.liquid
{% comment %} WESWOO example shell. Add ONE effect's HTML inside .fx-slot. {% endcomment %}
{{ 'ww-effects.css' | asset_url | stylesheet_tag }}
<section id="ww-effect-{{ section.id }}" data-ww-effect-section>
  <h2>{{ section.settings.heading | escape }}</h2>
  <button type="button" data-effect-toggle aria-pressed="false">Play / pause effect</button>
  <div class="fx-slot">
    {% comment %} Insert the chosen .fx element here; read copy/images from section settings. {% endcomment %}
  </div>
</section>
<script type="module" src="{{ 'ww-effect-section.js' | asset_url }}"></script>
{% schema %}
{"name":"WESWOO effect","settings":[{"type":"text","id":"heading","label":"Heading","default":"Our story"}],"presets":[{"name":"WESWOO effect"}]}
{% endschema %}

Insert the selected effect into the shell. Each module loads one effect; multiple types need an explicit registry and Section mapping.

Sources and further reading

Scope and licensing

Examples are authored by WESWOO and credited open-source contributors; retain their applicable licenses. Project screens and photographs remain with their rights holders. Downloads use placeholders; replace them with imagery you may use.

Shopify/dawn · modal / slider base classesShopify/dawn · product media galleryShopify/dawn · license

References checked · 2026-11-24