Overview
The Hero Section allows you to create engaging, conversion-focused banners with:- Multiple content blocks for flexible layouts
- Advanced animations and transitions
- Responsive design that looks great on all devices
- Background image/video support
- Call-to-action buttons with customizable styles
- Statistics display to build trust
- Overlay controls for text readability
Content Blocks
The Hero Section uses a block-based system for maximum flexibility:Eyebrow Block
Add a small text element above your main heading to provide context or categorization.- Text: The eyebrow text to display
- Color: Text color (inherits from theme or custom)
- Font Size: Small, Medium, Large
Heading Block
Your main headline - the most important text element.- Text: Your main headline
- Color: Text color
- Font Size: Extra Small, Small, Medium, Large, Extra Large
- Font Weight: Light, Normal, Medium, Bold, Extra Bold
Subheading Block
Secondary headline to provide additional context.- Text: Subheading text
- Color: Text color
- Font Size: Small, Medium, Large
- Font Weight: Light, Normal, Medium, Bold
Description Block
Longer text content to provide details or benefits.- Text: Description content (supports HTML)
- Color: Text color
- Font Size: Small, Medium, Large
- Line Height: Tight, Normal, Relaxed
Buttons Block
Call-to-action buttons to drive conversions.- Button 1 Text: Primary call-to-action text
- Button 1 URL: Link destination
- Button 1 Style: Primary, Secondary, Outline, Ghost
- Button 2 Text: Secondary call-to-action text
- Button 2 URL: Link destination
- Button 2 Style: Primary, Secondary, Outline, Ghost
- Button Size: Small, Medium, Large
Statistics Block
Display key statistics to build trust and credibility.- Stat 1 Number: First statistic number
- Stat 1 Label: Description for first statistic
- Stat 2 Number: Second statistic number
- Stat 2 Label: Description for second statistic
- Stat 3 Number: Third statistic number
- Stat 3 Label: Description for third statistic
Section Settings
Layout Settings
- Full Width: Enable to make the section span the full viewport width
- Hero Height: Set the minimum height of the hero section (300px - 800px)
- Content Alignment: Left, Center, Right
- Content Position: Top, Center, Bottom
Background Settings
- Background Image: Upload or select a background image
- Background Video: Upload a video file (MP4 format)
- Background Color: Fallback color when no image/video is set
- Overlay Color: Color overlay for better text readability
- Overlay Opacity: Control overlay transparency (0% - 100%)
Spacing Settings
- Padding Top: Space above the section (0px - 100px)
- Padding Bottom: Space below the section (0px - 100px)
- Content Spacing: Space between content blocks (Tight, Normal, Relaxed)
Animation Settings
- Animation Type: None, Fade In, Slide Up, Slide Down, Zoom In
- Animation Duration: Fast (0.3s), Normal (0.6s), Slow (1s)
- Animation Delay: Delay before animation starts (0s - 2s)
CSS Classes
The Hero Section uses these CSS classes for styling:Responsive Design
The Hero Section is fully responsive with these breakpoints:Best Practices
Content Strategy
- Clear Value Proposition: Your heading should clearly communicate what you offer
- Benefit-Focused: Focus on benefits, not just features
- Action-Oriented: Use strong call-to-action buttons
- Trust Signals: Include statistics or testimonials when relevant
Visual Design
- High-Quality Images: Use professional, high-resolution background images
- Text Readability: Ensure sufficient contrast between text and background
- Visual Hierarchy: Use different font sizes to create clear hierarchy
- White Space: Don’t overcrowd the hero section
Performance
- Optimize Images: Compress background images for faster loading
- Lazy Loading: Background images are automatically lazy-loaded
- Critical CSS: Hero styles are inlined for faster rendering
- Mobile Optimization: Test on various mobile devices
Examples
E-commerce Hero
Service-Based Hero
Troubleshooting
Common Issues
- Text Not Visible: Check overlay opacity and text color contrast
- Images Not Loading: Verify image file size and format
- Layout Breaking: Check content length and responsive settings
- Buttons Not Working: Verify URL settings and link validity
Performance Issues
- Slow Loading: Optimize background images (compress, use WebP)
- Layout Shift: Set proper image dimensions
- Animation Lag: Reduce animation complexity on mobile devices
Related Sections
- Featured Collection - Showcase products below the hero
- Product Showcase - Highlight specific products
- Testimonials - Build trust with customer reviews
- Newsletter Signup - Capture leads