Hero: Carousel

Last updated

A full-width Bootstrap carousel for heroes, where every slide has its own image, message and button. Use it to rotate several offers or announcements in the top spot.

Demonstration

Carousel Hero Demo

Hero — Carousel Settings

Carousel Settings

Minimum Height: Options: Small, Medium, Large, Full Viewport.

Transition: Options: Slide, Fade.

Autoplay: Automatic cycling is disabled for visitors who prefer reduced motion.

Autoplay Interval: Milliseconds between slides (2,000–15,000).

Pause on Hover: Pause autoplay while the pointer is over the carousel.

Wrap: Return to the first slide after the last slide.

Previous/Next Controls: Show previous and next controls.

Slide Indicators: Show slide position indicators.

Slides

Carousel Slides: Add and reorder page-specific hero slides. The first slide uses an H1; later slide headings use H2. Each one has:

  • Desktop Image: The slide image is decorative; its visible heading supplies the slide context.
  • Mobile Image: Optional image used below 768px.
  • Heading: The slide's main heading.
  • Heading Size: Leave unselected to use the theme default.
  • Heading Color: Default inherits the theme color.
  • Custom Heading Color: Used when Heading Color is Custom.
  • Subheading: Optional line of text below the heading.
  • Subheading Size: Leave unselected to use the theme default.
  • Subheading Color: Default inherits the theme color.
  • Custom Subheading Color: Used when Subheading Color is Custom.
  • Button Text: The button's label. Leave the Button Link's Link Text blank and use this field instead.
  • Button Link: The button's URL and whether it opens in a new tab.
  • Button Style: Uses the shared Bootstrap theme palette.
  • Button Size: Use large button (btn-lg).
  • Overlay Color: Choose a color and opacity to improve text contrast.
  • Text Alignment: Options: Left, Center, Right.
  • Content Position: Positions the caption area across the slide.

Usage Notes

Put it first: As the first block on a page or post, the hero renders flush: full width above the content, behind a Fixed Top navbar. The template then skips its own page title, because the hero’s heading is the H1.

Your own H1: Leave the first slide’s Heading empty and the carousel prints no H1, so you can add one in the content below it. The page title still stays hidden.

Not the first block? The template then prints the page title as an H1 above the content. On a Page, turn off Display Page Title (Page Display Options) so the hero’s heading is the only H1.

Headings: The first slide’s heading is the page’s H1, and later slides use H2. Put the main message on the first slide.