# Layer slider

<figure><img src="/files/snJ2JucblGGHwbLM6Usi" alt=""><figcaption></figcaption></figure>

The Layer slider element creates professional slideshows by pairing images with a flexible content container. Effortlessly incorporate text, buttons, or icons to build eye-catching, dynamic banners.

## How to add a Layer slider element <a href="#how-to-add-an-image" id="how-to-add-an-image"></a>

{% hint style="success" %}
**Steps:**

1. In the FoxStudio editor, on the left Sidebar > Click **Add elements**, or press **E**.
2. Select **Quick add**, select **Layer slider** element.
3. Drag the image slide onto your canvas.
   {% endhint %}

<figure><img src="/files/GSkUnU1S1BHCNJo6h3Nm" alt=""><figcaption></figcaption></figure>

## How to edit Layer slide <a href="#how-to-edit-slideshow" id="how-to-edit-slideshow"></a>

{% hint style="success" %}
**Steps:**

1. **Select** the relevant layer slide element in the editor.
2. All the formatting tools for the element can be found in the right-handsided **Inspector** panel.
   {% endhint %}

### General settings

<figure><img src="/files/19mRVEJBTTpAs8G8Cwtl" alt=""><figcaption></figcaption></figure>

#### Manage slides <a href="#manage-slides" id="manage-slides"></a>

* **Add new slides:**

Click **Layer content** to add a new slide to your layer slide. You can add up to 8 slides within the Layer Slide element.

<figure><img src="/files/BeB1cIQMvY8cuizgzb6X" alt=""><figcaption></figcaption></figure>

* **Reorder slides:**

Rearrange your slide to change the order in which your content is displayed to your visitors by dragging the six-dot icon.

<figure><img src="/files/rZISWO4lEKQ9w69V59P9" alt=""><figcaption></figcaption></figure>

* **Remove slides**:

If you no longer need a layer, you can delete it to keep your layer content up to date.

Hover over the slide you want to remove, click the **Remove** <img src="https://docs.foxecom.com/foxify-app/~gitbook/image?url=https%3A%2F%2F1749964694-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FfgpgvtRaQLc36GYyIktZ%252Fuploads%252F82iZIO5as4vtKc5omud1%252FDeleteIcon%2520%281%29.svg%3Falt%3Dmedia%26token%3D02556675-3239-49c9-87a9-127ed161ec4b&#x26;width=40&#x26;dpr=3&#x26;quality=100&#x26;sign=191c292b&#x26;sv=2" alt="" data-size="line"> icon.

<figure><img src="/files/BeG0RNVHwT0rCpL6AXaN" alt=""><figcaption></figcaption></figure>

* **Image position**: Choose the image placement relative to the content area: Left or Right.

{% tabs %}
{% tab title="Left " %}

<figure><img src="/files/GJUTpGvHmYNCnSB1foia" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Right" %}

<figure><img src="/files/gVbD6dZuwJtjTDwL059B" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

* **Enable pagination**: Toggle the navigation dots at the center of the slider.
* **Enable autoplay**: Toggle to transition slides automatically and set the duration (in seconds) for each slide to stay on screen.
* **Image ratio**: Set the aspect ratio for the images

{% tabs %}
{% tab title="Adapt to first image" %}

<figure><img src="/files/fGru2RnAb6mthGtWJ7wy" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Square (1:1)" %}

<figure><img src="/files/7EXHP45NufAhxj7YI9Jq" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Portrait (3:4)" %}

<figure><img src="/files/s9hgW9SfoDNIRzTnH3F8" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Landscape (4:3)" %}

<figure><img src="/files/Alk9jdArVfnZ3kEgkybQ" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

* **Disable slider on mobile**: Toggle this on to disable the sliding transition and display your slides in a vertical layout on mobile.

### Design settings <a href="#design-settings" id="design-settings"></a>

**Size & Constraints Settings:** Use these controls to define the element’s dimensions and positioning behavior across devices.

{% content-ref url="/pages/SSvw9bNbiI3U8pCyvlpe" %}
[Constraints](/foxify-app/foxstudio/layout-and-styling/constraints.md)
{% endcontent-ref %}

{% tabs %}
{% tab title="Element Container" %}

<figure><img src="/files/GfxRJ5AX2jMozCvhbqs0" alt=""><figcaption></figcaption></figure>

* **Spacing**: Adjust the spacing (padding and gap) of the element.
* **Backgrounds**: Set background to the theme either with a color or a media. If a color and a media are set as the background of an element at the same time, it will prioritize the media.
* **Borders**: Apply a border to the element and define the border radius value.
  {% endtab %}

{% tab title="Content Image" %}

<figure><img src="/files/1tTQPpOlOn2Xx89CMx9O" alt=""><figcaption></figcaption></figure>

* **Borders**: Apply a border to the element and define the border radius value.
  {% endtab %}
  {% endtabs %}

### Animations <a href="#animations" id="animations"></a>

{% content-ref url="/pages/7gnm1vqOxYHR0d2x5dym" %}
[Animations](/foxify-app/foxstudio/layout-and-styling/animations.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/foxify-app/foxstudio/add-and-edit-elements/layer-slider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
