top of page
Filter by Category

Wix Fix

CREATED BY

6:39

Automatic Slideshow in Editor X | Wix Fix

Automatic Slideshow in Editor X | Wix Fix


If you've been on the lookout for an easy way to create an automatic multi-state box slideshow for your Editor X website, you're in luck! In this blog post, we'll take you through the entire process. The best part? You don't need any prior coding experience to make it happen. All you have to do is follow the step-by-step guide we've prepared for you, and you'll have your automatic multi-state box slideshow up and running in no time.


Before we get started, we'd like to give a shout out to Nicholas Speech who was kind enough to share his code with the community. This tutorial is made possible because of his efforts, so kudos to him! Also, don't forget to check out Live Learning Editor X for monthly NoCode design challenges with prizes and an amazing community of experts to help you build design businesses and advance your career.


Now, let's jump into the tutorial!


Step 1: Turn on Dev Mode


The first thing you need to do is ensure that Dev Mode is turned on in your Editor X project. With Dev Mode enabled, you'll have access to multi-state boxes, which are essential for this tutorial. Enabling Dev Mode is simple:


1. Log in to your Editor X account.


2. Open your project.


3. Go to "Settings."


4. Click "Dev Mode" and turn it on.


Step 2: Add a Multi-State Box


With Dev Mode enabled, you can now add a multi-state box to your project:


1. Go to the "Add" panel.


2. Click "Layout Tools."


3. Drag and drop the "Multi-State Box" element onto your page.


Once the multi-state box is on your page, set its width to 100% and center it at the top middle of the page.


Step 3: Customize the Multi-State Box


Now that you have a multi-state box in place, it's time to customize its content. For this example, we'll set up a slideshow with three individual images as states, but feel free to add as many states as you'd like.


1. Click on the multi-state box.


2. Click "Manage States" in the properties panel.


3. Add your desired number of states (in our case, three).


4. Add your desired content (e.g., images) to each state.


5. Save your changes.


Step 4: Add the Code


To make the slideshow automatic, you'll need to add a small piece of JavaScript code. Don't worry, this code is already available for you to copy and paste from the link in the description. Just follow these steps:


1. Go to the "Dev" panel in your Editor X project.


2. Click on the "Page Code" tab.


3. Copy the code from the aforementioned link.


4. Paste the code into the "Page Code" tab.


Make sure to read the code comments to understand what each line does and to set the appropriate settings, such as the time interval between the slideshow transitions.


After you've added the code, don't forget to save your changes.


Step 5: Preview and Publish


Now that you've implemented the automatic multi-state box slideshow, it's time to see it in action! Preview your website to ensure everything is working correctly. If you're happy with the result, go ahead and publish your website.


And voila! You've successfully created an automatic multi-state box slideshow using Editor X. With this easy-to-follow tutorial, you can add engaging and dynamic content to your website. Plus, it's a fantastic way to showcase your best work or highlight important information.


Remember, the Live Learning Editor X community is always there to help you up your design game and propel your career forward. We offer monthly NoCode design challenges with fantastic prizes, so be sure to join our community to grow as a designer and have fun along the way.


We hope you found this tutorial helpful and informative. Don't hesitate to share your brand-new automatic multi-state box slideshow with us. We'd love to see your creations!

bottom of page