Embed Before & After Carousel on Your Website
01
Create a Before & After Carousel widget for your website on Common Ninja
First, create a Before & After Carousel widget on Common Ninja.
On the widgets catalog, find the Before & After Carousel and enter the Editor.
02
Save the Before & After Carousel widget
When you're done creating the Before & After Carousel widget, click on the Save Changes button at the right top corner of the editor.
If you don't have an account on Common Ninja, you'll have to register first.
03
Copy the Before & After Carousel Embed Code
When you're ready to add the Before & After Carousel widget to your website, click the Add To Website button at the top bar of the Editor.
On the window that opens, click the Copy Icon to copy the widget embed code. In the next steps, you will paste this code into your website.
04
Paste the code to your Platform website’s HTML field.
Next, go to your Platform website editor and find the HTML field. It is most likely in the form of an HTML/Code widget or module which you can find on the Platform’s editor. Add it to your page, and paste the Before & After Carousel Embed Code you’ve copied before to the HTML field.
Save and update, and that’s it, you should have Common Ninja’s Before & After Carousel widget on your Platform website.
05
Alternative Method 1: Through the HTML option in the text’s editing area.
If you can't find the HTML/Code widget or module, there's another way to put Common Ninja’s Before & After Carousel widget on your Platform widget. You can just add the code to a special HTML section in the text editor.
06
Alternative Method 2: Add it directly to your Platform website’s HTML code.
If you're having trouble finding a widget or a special part in your text editor where you can add the Embed Code, you can try a different way to add the Before & After Carousel widget to your Platform website. You can do this by putting it straight into your Platform website's HTML code.
Why Use This Widget
The Before & After Carousel is an interactive image comparison widget designed for showcasing multiple visual transformations in one organized display. Add a separate before and after image pair to each carousel item and let visitors drag the comparison handle to reveal the difference between them. Visitors can browse through additional comparisons using arrows, pagination controls, thumbnails, or automatic transitions. Each comparison can have its own images, labels, caption, starting position, reveal direction, aspect ratio, badge, and styling. With flexible carousel layouts, navigation options, responsive behavior, and extensive design controls, it is ideal for portfolios, renovations, photography, beauty services, restorations, product demonstrations, design work, case studies, and other situations where several visual transformations need to be presented clearly.
This tutorial was written by the Common Ninja product team, creators of interactive, no-code widgets for websites. Common Ninja helps over 500,000 users build engaging online experiences without coding.