Before/After Slider widget

Shopify embed guide

How to Add a Before/After Slider to a Shopify Store.

The usual route to a Before/After Slider on Shopify is installing yet another app, with its own subscription, its own scripts added to your theme, and its own uninstall residue. A hosted embed skips all of that: the widget runs in a sandboxed iframe served from a CDN, and your theme code stays untouched.

Live starter preview

Step by step

Embed the Before/After Slider in your Shopify store.

01

Create the widget in Fugte

Start from the Before/After Slider starter, generate a variation with the built-in AI, or paste your own code.

02

Customize and publish it in Fugte

Text, colors, images, numbers, and options are no-code settings, so you can match your branding without touching code. Publishing gives the Before/After Slider a stable hosted link and an embed snippet.

03

Add a Custom Liquid section in your theme

In Shopify admin, go to Online Store → Themes → Customize, add a "Custom Liquid" section or block where you want the widget, and paste the embed snippet.

04

Or paste it into a page

For standalone pages, open the page in the Shopify editor, switch to the HTML view (the <> button), and paste the embed where the Before/After Slider should appear. Save, then preview.

Good to know

Shopify specifics worth planning around.

No app install means nothing is added to your theme.liquid and nothing to clean up later.

The widget runs in a sandboxed cross-origin iframe, so its CSS and JavaScript cannot conflict with your theme or other apps.

Custom Liquid blocks can be placed in product, collection, and page templates through the theme editor.

Updates happen in the widget editor. You never re-edit the theme to change text, colors, or offers.

This widget

What the Before/After Slider needs from the embed.

The section above applies to anything you put on a Shopify store. This part is specific to the Before/After Slider.

Each comparison is a 16:9 image with a caption under it, so the height follows the embed width, multiplied by however many pairs the widget holds. Set the frame height on the editor's Iframe tab against the full stack, not against the first pair.

Width is doing more work here than on most widgets. The whole point is detail in two photographs, and a 16:9 frame squeezed into a narrow column takes that detail with it. This is a widget to give the full content width to.

Both photos are served at whatever size you upload them, and every visitor loads both. Resize them to roughly the width they will display at before uploading, or a pair of camera-original files becomes the heaviest thing on the page.

Ideas

Where the Before/After Slider fits.

Renovation and landscaping

Showcase the transformation!

Cleaning and detailing

Showcase the transformation!

Retouching and restoration

Showcase the transformation!

FAQ

Common questions.

Will the Before/After Slider slow my store down?

The embed is an iframe loaded from a CDN alongside your page rather than script injected into your theme, so it does not block your theme from rendering.

Do I need a developer or a Shopify app?

No. The whole workflow is copy-paste in the theme editor. If you can add a section in Customize, you can add this.

Can the Before/After Slider read my store data?

No, and that is by design. The Before/After Slider is a self-contained front-end widget. It does not have Shopify API access, which also means there are no app permissions to review.

Try it

Put a Before/After Slider on your Shopify store today.

Start free, customize the Before/After Slider without code, and embed it with one link.