---
title: "Slide element"
date: "2018-03-04T11:39:06+00:00"
summary: "Create dynamic, content-rich slides for your slider with the Slide element. Easily add layouts, content, and custom styles to each slide, enhancing your website's visual appeal and user engagement."
image:
type: "page"
url: "/drupal-starter-kits/add-ons/site-studio/slide-element"
id: "b9522bd8-fd5e-403d-bbb7-3936f43e706a"
---

Table of contents will be added

Use a Slide element to create a slide within your slider. The Slide acts as a container for your slide content, which you can populate using Layout and content elements.

Important

Slide elements must be placed within a Slider container. Find more information, see [Slider container element](/drupal-starter-kits/add-ons/site-studio/slider-container-element "Slider container element").  
  
Slide elements have padding applied based on the inner gutters within the responsive grid settings. If additional padding is required, you would need to add another element such as a Container inside of your slide and apply the required padding to that element.

Locating the slide element
--------------------------

To find the Slide element:

1.  Navigate to a component or a template with the Layout canvas
2.  Click the **+ button** on the Layout canvas
3.  Within the Elements tab, look for the Slide element.

![29de35e6-Slide-element.png](https://acquia.widen.net/content/92b816c4-edfb-4cd0-a821-2d6e616b8b2d/web/29de35e6-Slide-element.png)

The Slide element includes the following fields:

Link and interaction
--------------------

*   **Title attribute -** Add a title attribute for your link
*   **Type -** Select the type of link
    *   **Internal page** - Link to an internal page
        *   Link to page **-** Type the name of the internal page you are linking to.
    *   **URL -** Link to a URL
        *   URL - Enter the full URL of an external web page.
    *   **Anchor -** Link to a page Anchor
        *   Anchor **\-** Enter an Anchor ID. You do not need to include the #.
    *   **Back to top -** Add a smooth scroll back to the top of the page
    *   **Scroll to -** Add a smooth scroll to a jQuery selector
        *   Scroll target - Enter a jQuery selector to target an element to scroll to.
        *    Scroll duration - Enter the time it will take for the scroll to complete in milliseconds.
        *   **Offset type**
            *   Offset against element - Offset the top of completed scroll position by the height of an element. Target the element using a jQuery selector.
            *   Offset in PX - Offset the top of completed scroll position in pixels.
    *   **Modifier -** Toggle, add or remove a modifier class on an element using on-click. For more information, see [Add on-click interactivity to elements](/drupal-starter-kits/add-ons/site-studio/add-click-interactivity-elements "Add on-click interactivity to elements")
    *   **Open modal** - Link to open a modal
        *   **Trigger ID** - Enter the ID of the modal trigger, this is the ID of this element  
            Adding a trigger ID will allow for the focus will return to the body when the modal closes. 
        *   **Modal ID** - Enter the ID of the modal to open
*   **Target window -** Select the target window for the link.

Custom style
------------

*   **Layout style -** Apply a Layout custom style to the Slide. 

Match heights
-------------

*   **Match heights** \- Match the height of the element using:
    *   **None** - Removes the match heights at the specific breakpoint
    *   **Class** \- Match the height of the element with another element with the same class name
    *   **Children with class** - Match the heights of any child elements with the same class name
    *   **Child element** - Match the heights of all child elements of the same type.

For more information on Match heights, see [Match the heights of elements.](/drupal-starter-kits/add-ons/site-studio/match-heights-elements "Match the heights of elements")

Comments
--------

*   **Add comments -** Add comments to the Element.  For more information, see [Adding comments to an element](/drupal-starter-kits/add-ons/site-studio/adding-comments-element "Adding comments to an element").