Overview
The enhanced slider displays full-width animated images with overlay text, perfect for highlighting products, promotions, or brand messaging. It includes parallax effects for titles and descriptions.This component is not suitable for displaying banners. Use the standard “Animated images” component instead for full banner display.
Location
Component path
Configuration
Intwilight.json, this component is identified by key 186b3f4f-25cf-4d3c-abca-cef7eed6f0ab.
Available fields
Collection of slides to display (min: 1, max: 10)
Slide image URL. Recommended size: 900×600 pixels
Main heading displayed on the image with prominent size. Includes entrance animation for visual appeal.
Additional text displayed below the title with smaller font. Includes entrance animation.
Remove the dark overlay layer from the image
Usage example
Template structure
Features
Parallax effects
The slider uses Swiper’s parallax feature:- Title:
data-swiper-parallax="-500" - Description:
data-swiper-parallax="-300"
Responsive design
- Mobile: Minimum height of 300px
- Desktop: Minimum height of 528px
- Content width adjusts from 66% on mobile to 42% on large screens
Overlay control
Thewithout_overlay option controls the dark overlay:
Auto-play behavior
The slider includes:auto-play: Automatic slide progressionstatic-when-single: Disables animation when only one slide exists- Controls are hidden when there’s only one slide
Styling
The component uses these main CSS classes:.s-block--hero-slider: Main container styling.s-block--full-bg: Full background treatment.overlay-bg: Dark overlay for text readability.home-slider__content: Content positioning and spacing
Accessibility
- Uses semantic
<h2>tags for slide titles - Includes proper alt text for images
- Maintains text contrast with overlay