How to Add a Before-and-After Project Slider to Your Renovation Website
Turn a genuine project photo pair into an interactive comparison, then give prospective homeowners a clear route to request a quote.
Start with one real project on the service page it belongs to, not a sprawling gallery. A kitchen renovation comparison should sit beside your kitchen service description and a quote button. Give visitors something useful to inspect, then tell them what to do next.
Elfsight Before and After Slider is a practical option for this job: its published setup is to choose a template, upload paired images, adjust the layout, and embed the generated code. This guide follows those official instructions, with recommendations for honest photo presentation and a useful quote-request path. It doesn't assume a slider will increase enquiries.
1. Pick a project that matches the service you’re selling
Choose a completed job you have permission to show. For a bathroom service page, use a bathroom, not your most dramatic kitchen transformation.
Before opening the widget editor, collect:
- The original before and after photographs.
- Permission to publish them.
- A short, accurate description of your scope of work.
- The destination for the quote button.
Use photos taken from roughly the same position, with matching framing wherever possible. Crop them to the same proportions so walls, windows, and other fixed points line up. If the angles don’t match well enough for a fair comparison, choose another pair.
Don’t use generative edits to remove defects, add finishes, or make completed work look different. Keep addresses, family photographs, and other identifying details out of the published images.
The rule: show the renovation, not your photo-editing skills.
2. Prepare the images before uploading them
Export web-ready copies as optimized JPG or PNG files. Keep the originals separately.
Elfsight says the slider displays images as uploaded; it doesn’t automatically compress or optimize them. Its official product FAQ recommends optimized JPG or PNG files.
For each pair:
- Match the crop and image dimensions.
- Compress the files in your image editor.
- Inspect the result at the size you expect to display it.
- Make sure important details, tile joints, cabinetry edges, and finish work, remain clear.
Don’t shrink the photographs until the workmanship becomes a blur. Equally, don’t upload full-resolution camera originals without preparing them for the page.
Write your project caption now, too. Keep it factual and limited to work your business actually performed.
Hypothetical caption: “Bathroom renovation: replaced the bath with a walk-in shower, renewed wall tiling, and installed a new vanity.”
3. Build one comparison in Elfsight
Open the Elfsight Before and After Slider editor, choose a template, and upload your paired images. Those are the first steps in Elfsight’s published installation workflow.
Start with one pair. The product supports two images per slide; showing additional stages requires separate slides, according to the same official page.
Set up the comparison so it explains itself:
- Put the earlier photograph in the before position and the finished work in the after position.
- Use plain labels: “Before” and “After.”
- Add the project caption.
- Choose a starting divider position that leaves enough of both images visible.
Elfsight supports labels, captions, and an adjustable initial divider position. It also supports links inside captions, though a visible quote button outside the widget is our recommendation. Don’t make visitors hunt for the next step inside a photograph.
4. Make the divider easy to understand
Choose a divider direction that suits the photographs. For a matched room view, start with a vertical divider that reveals the two images side by side.
Elfsight offers horizontal and vertical divider orientations, plus Drag & Click and Hover interaction modes. Its HTML product documentation also lists swiping on touch devices.
Our starting recommendation is Drag & Click, with a clearly visible divider. Add a short instruction above the comparison:
Drag the divider to compare the bathroom before and after renovation.
Treat that as a starting configuration, not proof that the interaction works for everyone. During your page checks, try touch, mouse, and keyboard navigation. Don’t assume support for one input method proves support for another.
Keep the written project description visible outside the slider. If visitors can’t operate the comparison, they should still be able to understand the work and request a quote. Consider adding ordinary, separately displayed before and after images as an alternative.
5. Embed it beside a relevant quote request
Finish the widget configuration, then copy the individual embed code Elfsight provides.
The official HTML installation instructions say to place that generated code into your webpage and apply the changes. They also state that an HTML site must support JavaScript.
In your website editor, use the area intended for custom HTML or embeds. If you don’t control that part of the site, send the generated code and the intended placement to whoever maintains it. Use Elfsight’s code rather than trying to reconstruct it.
A sensible service-page order is:
- Brief service description.
- Before-and-after comparison.
- Short scope-of-work caption.
- Quote-request button.
Use a specific button label such as “Request a bathroom renovation quote.” Link it to your existing enquiry form or contact route. Don’t add a new form just for the slider unless you need one.
6. Choose a plan around widget loads, not visitor counts
Use the free plan to build and assess the comparison before paying.
Elfsight’s pricing page lists:
| Plan | Published price | Relevant allowance |
|---|---|---|
| Free | $0 | One widget, 200 monthly views, Elfsight branding |
| Basic | $5 per month, billed yearly | Three widgets, 5,000 monthly views, ad-free |
The important catch is the definition of a view. Elfsight counts widget loads, not unique visitors, and says exceeding the monthly allowance temporarily deactivates the app.
Our recommendation: use Free for setup, then choose Basic only if its allowance fits your expected loads and you want an ad-free presentation. Don’t scatter the widget across every page without considering the allowance.
Keep the project description and quote button outside the widget so the enquiry route doesn’t depend on the comparison remaining available.
7. Check the live page before promoting it
After publishing, open the actual service page, not just the editor preview.
Check it on a phone and a desktop:
- Are the before and after photographs in the correct positions?
- Do fixed features line up as the divider moves?
- Are labels and instructions readable?
- Can you operate the comparison without disrupting normal scrolling?
- Does keyboard navigation leave a usable path through the page?
- Does the quote button open the right destination?
- Can you complete and submit the enquiry form?
If the embed doesn’t appear, Elfsight lists free installation assistance. Ask for help rather than repeatedly pasting extra copies of the code.
Once it’s live, keep a simple record of quote requests from that service page and, where your existing analytics supports it, quote-button clicks. Don’t call a change a conversion lift without a fair comparison.
The best first version is one honest photo pair, a clear explanation, and a working quote button. Publish that before building a whole interactive portfolio.
