With a Klorr plan: Klorr’s sections at no costlower prices on every other sectiongenerate and sell your ownSee plans
← Marketplace
Gallery

Before & After SliderShopify before and after slider section

pixelpair

New201 installs

Without a plan€7
With a Klorr plan€5-29%

You pay €7 today. A plan saves you on every section.

Paid once, yours to keep.

This is the comparison slider I ship to every client, rebuilt. Grab the seam anywhere and pull: the point you hold follows your hand at once while the ends follow on a spring, so the seam bows like a pulled string and settles with a small wobble when you let go. Click anywhere to send it there. The labels fade with how much of each photo is showing, and on first view the seam sweeps once so nobody misses that it moves. It still sits on a native range input, so arrow keys move it too. On phones a sideways swipe moves the seam and a vertical one still scrolls the page.

What this Shopify section does

  • A seam that bows as you pull it and wobbles straight
  • Grab anywhere, or click to send the seam there
  • Labels fade with how much of each photo shows
  • Optional sweep on first view, optional follow-the-mouse
  • Native range input: full keyboard support
  • Phone swipes never fight page scrolling
  • Six aspect ratios, bend strength and colours in the editor
  • Clean Liquid with a complete {% schema %}
  • Editable in the Shopify theme editor, like any other section
  • Works on any Online Store 2.0 theme
  • Pasted into your own theme, with no app on your storefront

How to add Before & After Slider to your Shopify theme

  1. Get Before & After Slider here and download its .liquid file from your Klorr account.
  2. In Shopify, go to Online Store › Themes, open the ⋯ menu on your theme and choose Duplicate, so you try it on a copy first.
  3. On the copy, open ⋯ › Edit code, then under Sections choose Add a new section and give it a name.
  4. Replace everything in the new file with the code you downloaded, and press Save.
  5. Open Customize, choose Add section on any page and pick it from the list. Change its words, pictures and colours in the panel, then publish the theme when you are happy.

New to theme code? Read the full guide: how to add a custom section to Shopify.

Questions about this before and after slider section

Does Before & After Slider work with my Shopify theme?

Yes, if your theme is an Online Store 2.0 theme, which includes Dawn, Horizon and almost every theme sold today. Before & After Slider is a standard before and after slider section: it is added under Sections in your theme code and then appears in the theme editor like the sections your theme came with.

Do I need an app to use this before and after slider section?

No. It is a section file that lives in your own theme, so there is no app to install, nothing extra loading on your storefront and no monthly fee for it.

Can I change the text, images and colours?

Yes. Its words, pictures, colours and options are settings in the Shopify theme editor, so you change them in Customize without touching the code, and you can add it to as many pages as you like.

Will it slow down my store?

Its styles and scripts are scoped to the section and load with it, and its pictures load lazily, so it adds little to the page and nothing to the rest of your theme.

What do I get with Before & After Slider?

One .liquid file with its full schema, made by pixelpair. You pay once and it is yours to keep: it stays in your theme and in your Klorr account, ready to download again.

Build your own sections with Klorr

Describe the section you want and get production-ready Liquid that respects your theme and stays editable in Shopify. No $400 theme required.