Hero Slider Container and Hero Slide With Drupal Canvas
How to build and manage a hero carousel with the Hero Slider Container and Hero Slide components in Drupal Canvas, with the Vartheme BS5 theme, no code.
The Vartheme BS5 theme provides two components for building a hero carousel in Drupal Canvas:
Hero Slider (Container)
The carousel wrapper. You place several Hero Slide items inside it and set how the carousel behaves (transition, autoplay, indicators, controls, height and controller colour).
Hero Slide
One slide: a title, rich-text content, an image, an optional button, and the slide layout.

Building a Hero Slider
Open a Drupal Canvas page and the Library (the + icon); open the Hero group.
Drag the Hero Slider (Container) onto the page.
Drag one or more Hero Slide items into the container's Slides slot.
Select each slide to set its title, content, image, button and layout.

Managing Slides: Inside a Layout Too
The Layers panel is where you reorder and manage everything. It works the same whether the slider sits on its own or inside a Layout (a Section with columns).
Reorder: drag a Hero Slide up or down in the tree.
Duplicate / Delete: open a slide's context menu (the …).
Move into a layout: drop the Hero Slider into a Section column; the tree then shows Section → Column → Hero Slider (Container) → Slides → Hero Slide, and you still manage the slides the same way.

Container Settings (How the Carousel Behaves)
Select the Hero Slider (Container) to open its Settings:
Edge-to-edge background
Let the slider stretch the full width of the page.
Transition
Slide or Fade between slides.
Autoplay + Autoplay interval
Advance slides automatically, and how long each slide shows (in milliseconds).
Pause on hover
Stop autoplay while the visitor's pointer is over the slider.
Show indicators
Show the little dots that mark each slide.
Show prev/next controls
Show the arrows to move between slides.
Slider height
A fixed height, 500, 700 or 900 pixels.
Controller color
The colour of the arrows and dots.

Slide Settings (One Slide)
Select a Hero Slide to set:
Enabled: show or hide this slide.
Active by default: the slide shown first when the page loads.
Title and Content: the heading and rich-text body.
Image: the slide's picture (from the Media library).
Media position: the slide layout (see below).
Title tag / Title size, Content max width, Vertical alignment, Text alignment.
Button: optional call-to-action: text, link and style.

Slide Layouts: One Example per Media Position
Each slide's Media position sets its layout. There are five choices.
Overlay background
The image fills the slide and the text sits on top.

Split: image start
The image is on one side and the text on the other, image first.

Split: image end
The same split layout, with the image after the text.

Text only
No image, just the title, content and button.

Inherit from container
The slide follows the container's media position instead of setting its own.

Publishing
Drupal Canvas auto-saves a draft while you edit. Click Review changes, then Publish. The container handles the carousel wiring for you automatically.
Related Documentation
Editing the Header and Footer With Drupal CanvasManaging Multiple Accordions With Drupal CanvasLast updated