add_hero
Create premium hero sections with modern layouts for WordPress pages using Elementor. Choose centered, split, asymmetric, or overlapping designs with automatic text contrast adaptation.
Instructions
Add a premium hero section with modern layouts: centered, balanced split (50/50), asymmetric splits (60/40 or 40/60), or overlapping image design. Text colors automatically adapt for contrast based on background.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page ID | |
| heading | Yes | Main heading text | |
| subheading | No | Subheading or description | |
| cta_text | No | Call-to-action button text | |
| cta_url | No | CTA button URL | |
| image_url | No | URL to an image. When provided, enables split/asymmetric layouts. | |
| layout | No | Layout: centered (default), split (50/50), asymmetric-left (60/40 text-heavy), asymmetric-right (40/60 image-heavy), overlap (image bleeds into next section) | |
| background_color | No | Custom background color (hex, e.g. #3B82F6 for blue, #f2f2f2 for light gray). Text colors auto-adjust for contrast. If not provided, uses gradient from primary colors. |