How to add a before and after slider to Wix
Add a drag-to-compare before and after slider to your Wix site in five minutes. Works with a finger, a mouse and the keyboard, uses your own photos, and needs no app.
Each guide adds one thing to your Wix site with a single line of code, and each has a live demo to try first. The line goes in the same place every time:
Add a drag-to-compare before and after slider to your Wix site in five minutes. Works with a finger, a mouse and the keyboard, uses your own photos, and needs no app.
Add a pen button that lets visitors doodle on your website: circle things, write notes, draw on your photos. The drawing scrolls with the page and disappears when they leave.
Add a cookie consent banner to your Wix site where Accept and Reject are equally easy, nothing is pre-ticked, and Google Consent Mode v2 updates automatically.
Add a cursor trail to your Wix site: sparkles, hearts, snowflakes, a glowing comet or a rainbow ribbon follow the mouse. One line in Custom Code, no app.
Add a flip countdown timer to your Wix site for a sale, a launch or an event. One line in Custom Code, then set the date and the look from a dashboard.
Add a spin-to-win wheel to your Wix site. Choose the prizes and the odds, give every visitor one spin, and show the winning code ready to copy.
Add fade, slide and zoom animations to your Wix site as visitors scroll, with numbers that count up. Nothing is hidden before it loads, so there is no flash.
Other builders: WordPressShopifyWebflowSquarespace Full Wix install guide