Before/After Slider widget

Canva embed guide

How to Add a Before/After Slider to a Canva Website.

Canva's website builder has no custom-code block: raw HTML, JavaScript, and iframe snippets will not work on any plan. What Canva's Embed element does accept is a URL. So the way to get a Before/After Slider onto a Canva page is to host the widget outside Canva and paste its link in.

Live starter preview

Step by step

Embed the Before/After Slider in your Canva website.

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 an Embed element in Canva

Open your website design in Canva, then add an Embed element from Apps, or paste the link straight onto the page.

04

Paste the link and publish

Paste the hosted widget link, resize and position the Before/After Slider like any other Canva element, then publish the site.

Good to know

Canva specifics worth planning around.

Canva renders only static, in-page embeds: floating buttons, sticky bars, and popups will not work on Canva sites.

There is no site-wide option: a widget you want on several pages must be embedded on each page individually.

The Embed element is available on free Canva accounts.

The link stays stable, so later edits made in the widget editor appear on the Canva page automatically, no need to reopen the design.

This widget

What the Before/After Slider needs from the embed.

The section above applies to anything you put on a Canva website. 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 width you give the Canva box, multiplied by however many pairs the widget holds. Work out the box from the widest point you want the photos to be, then check that the last caption is not cut off.

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.

Can I paste HTML or iframe code into Canva instead?

No. Canva websites do not support raw HTML, JavaScript, or iframe embeds on any plan. Hosting the widget elsewhere and embedding it by link is the supported route.

Will the Before/After Slider stay interactive after the Canva site is published?

Yes. The Before/After Slider loads live on the published site, on desktop and mobile, and visitors can interact with it without any account.

Does this need a paid Canva plan?

No. Canva's Embed element works on free accounts, and Fugte has a free plan, so you can test the full workflow at no cost.

Try it

Put a Before/After Slider on your Canva website today.

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