# CMS: Adding and Setting Up a Range Slider

Source: https://support.wix.com/en/article/cms-adding-and-setting-up-a-range-slider (updated 2026-11-11)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Give visitors a way to filter the items that appear on your site by dragging sliders to select a range of values. For example, if you run an online store, you can use a range slider to let customers filter products by price, making it easier for them to find items within their budget. 

  
 After adding a range slider, connect it to a dataset that connects to the repeater or gallery you want visitors to filter. Then choose a number field type to use for the filter and the condition. The condition determines whether to show items that have field values between the selected range or outside of the range. Lastly, customize the field title and the slider element's layout and design. 

 Any [filters or sorts](https://support.wix.com/en/article/cms-formerly-content-manager-adding-filters-and-sorts-to-datasets-to-control-live-site-content) you apply to the dataset also apply to the connected elements. This means you can add filters to the dataset to exclude items from appearing and add sorts to control their order.

![A screenshot showing a range slider element with the title 'What is your price range?'](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/f0656688-8ed1-488a-888d-62373b7c3a3c/2022/02/24/8b2a4436-34d0-4dad-b5d3-a7400259574a/9bd2c068-1bcc-4108-ad07-9f9ac84533a0.jpg)

> **Important:** The range slider is not available in the Studio Editor or the Wix Harmony Editor.

> **Before you begin:**
>
> * Make sure to [add the CMS](https://support.wix.com/en/article/cms-formerly-content-manager-getting-started) to your site if you haven't already.
> * Make sure you have [a collection with suitable permissions](https://support.wix.com/en/article/cms-creating-a-custom-form-with-input-elements-that-submit-to-your-collection#step-1-create-a-collection-and-set-the-permissions) for storing submissions from the slider input element.

### To add and set up a range slider:

1. [Go to your editor](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Feditor%2F%7BmetaSiteId%7D%3FeditorSessionId%3D%7Besi%7D%26).
2. Add the range slider input element:  
   1. Go to the page or section where you want visitors to filter content by a number value.  
   2. Click **Add Elements** ![](https://d2x3xhvgiqkx42.cloudfront.net/65d5031a-8d20-483c-b08f-0a758e1cf2fd/68a0236f-77f4-43c6-931f-8298ae691a9e/2022/11/17/01f24c8b-2ea3-4d06-a26d-9975a43d617e/a79e245b-4870-4444-ba82-248eca4eb9a7.png) on the left side of the editor.  
   3. Click **Input**.  
   4. Click **Slider**.  
   5. Scroll down to **Range Sliders**, then click and drag the relevant range slider onto the page.

![Screenshot of adding a range slider in the Wix Editor.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/10/18/7ece4625-ade1-4312-aab6-bbc1f9280113/37feb8a1-99c9-4df6-94e9-c61463a7075c.png)

1. Connect the range slider to the CMS:  
   1. Click the **Connect to CMS** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2023/06/16/2d484f5d-e1bf-4d48-9e42-82216e8b88de/08e74518-edad-42f8-b007-c974ba767eb6.png) on the range slider.  
   2. Select **Filter content** in the **Connect Range Slider** panel on the right.  
   3. Click the **Choose a dataset** drop-down and select the same dataset that connects to the elements (e.g. repeater, gallery, table) that you want visitors to filter.  
   4. Click the **Filter content by** drop-down and choose the number field that visitors will use to filter the content.  
   **Tip:** To add a new field to your collection and use it for filtering content, select **+ Add**, then enter the field name and click **Add**. You can add content to the field in your CMS collection later.  
   5. Click the **Condition** drop-down and select the relevant condition:  
         * **Between:** Show items that have a connected number field value that is between the range slider handles.  
         * **Outside of:** Show items that have a connected number field value that is outside of the range slider handles.

![Screenshot of connecting a range slider to a dataset and collection field.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/10/18/11d5263b-0725-4ae8-ad1e-62fa7e793f0a/b06752e4-e149-4e46-8b97-5f935a7ec9b1.png)

1. Customize the range slider element:  
   * Click **Settings** to customize the following:  
         * **Field title:** Edit the name that displays on the range slider and lets visitors know what it does.  
         * **Slider type:** Choose a continuous or stepped slider type:  
                  * **Continuous:** Visitors can select any value within the set range.  
                  * **Stepped:** Visitors can select specific, incremental values within the set range. Set up the following options:  
                              * **Set steps by:** Click the drop-down and choose how you want to set the steps:  
                                             * **Number of steps:** You choose how many steps appear in the range slider. Enter the number of steps in the **Steps** field.  
                                             * **Step value:** You choose the value increments of each step, up to 100\. Enter the value of the increments in the **Value** field.  
                              * **Value labels:** (Optional) Enter a prefix in the **Prefix** field to have it appear before the value (e.g. $). You can also enter a suffix in the **Suffix** field to have it appear after the value.  
                  * **Value range:** Set the maximum and minimum values available in the slider. Then set the minimum and maximum selected value range.  
                  * **Accessible name:** Make your slider accessible by entering a short description of what the slider is used for.  
   * Click the **Layout** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/24/1e3a7616-1ca3-40ad-9e94-d2e18bfd4b98/33c4ffdc-7138-462f-b6e2-4d6505f6f8f6.png) to adjust the following:  
         * The size and shape of your range slider handles.  
         * The track height (thickness) of the track that the handles slide on.  
         * Choose a **Left to right** or **Right to left** range display direction.  
         * Adjust the alignment, offset, and spacing around the field title.  
         * (Steps only) Choose a layout: **Lines** or **Dots**.  
   * Click the **Design** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/04/24/d44e4657-75f7-476b-a92f-c0ed3bc775bc/4d1470bd-bd1d-4d8b-ac9d-5015333e2742.png) to choose a preset design and customize it further.

![Screenshot of adjusting the range slider settings.](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/d6b40156-9694-4cfe-9209-54815ef9d6dc/2024/10/18/91180234-f64a-46b8-87b2-03dc6a2c767e/8fa1f56d-3ed5-4f0b-a5fb-5ab1bc5033b6.png)

1. Click **Preview** to test your range slider.
2. Click **Publish** if you are ready to make the changes go live.
