7 Text-Only Styles
Welcome, Department, Page Intro, Centered, Minimal, Info Callout, and Announcement variants — each with or without button support.
The Hero Component creates impactful page introductions that appear immediately after the Edlio CMS page title to welcome users, set context, and guide them toward key actions. Available in text-only and image background variants, each with optional button support.
7 Text-Only Styles
Welcome, Department, Page Intro, Centered, Minimal, Info Callout, and Announcement variants — each with or without button support.
5 Image Background Styles
Dark overlay, light overlay, and directional gradient overlays for high-impact visual storytelling with background images.
Flexible Button Support
Single or dual buttons using Navy, Light Blue, Gold, Outline, and Alt Navy styles — composable with any hero type.
No Dependencies
Pure HTML with inline CSS — paste directly into Edlio WYSIWYG with no external stylesheets required.
| Type | Background | Best Used For |
|---|---|---|
| Welcome Hero | Navy gradient (#003366 → #3a57a8) | District home page, school landing pages |
| Department Hero | White + Light Blue left border | Department overview, service pages |
| Page Intro | Gold gradient (#f0ad4e → #ffc870) | Information pages, general school pages |
| Centered Text | Solid Navy (#003366) | Community messages, welcome statements |
| Minimal | Light gray (#f8f9fa) + border | Quick-access pages, resource hubs |
| Info Callout | Light Blue (#e8f7fc) + icon | Process pages, enrollment, how-to guides |
| Announcement | Alt Navy gray (#e6eaf0) + gold badge | Time-sensitive notices, important updates |
| Image: Dark Overlay | Background image + navy rgba overlay | High-impact welcome, visual storytelling |
| Image: Light Overlay | Background image + white rgba overlay | Bright, content-forward visual pages |
| Image: Directional Gradient | Background image + directional gradient | Department pages, left-aligned layouts |
<!-- WELCOME HERO WITH BUTTON --><div style="background: linear-gradient(135deg, #003366 0%, #3a57a8 100%); padding: 40px 30px; border-radius: 8px; margin-bottom: 24px; text-align: center;"> <p style="margin: 0 0 16px 0; color: #ffffff; font-size: 18px; line-height: 1.6; font-style: italic;">Where we empower world-class learners!</p> <p style="margin: 0; color: #e8f7fc; font-size: 16px; line-height: 1.6;">We are a nationally renowned public school district that proudly educates 34,000 students throughout 40 award-winning schools.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #f0ad4e; color: #003366; border: 2px solid #f0ad4e; padding: 12px 24px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; margin-top: 20px; transition: all 0.3s ease; cursor: pointer;">Learn More</a></div><!-- DEPARTMENT HERO WITH BUTTON --><div style="background: #ffffff; border-left: 6px solid #54c8eb; padding: 30px; border-radius: 8px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.1);"> <p style="margin: 0 0 16px 0; color: #003366; font-size: 18px; line-height: 1.6; font-weight: 600;">Supporting excellence in education through innovative programs and dedicated service.</p> <p style="margin: 0; color: #333; font-size: 16px; line-height: 1.6;">Our department is committed to providing resources, guidance, and support to ensure every student succeeds.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #003366; color: #ffffff; border: 2px solid #003366; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; margin-top: 16px; transition: all 0.3s ease; cursor: pointer;">Explore Services</a></div><!-- PAGE INTRO HERO WITH TWO BUTTONS --><div style="background: linear-gradient(135deg, #f0ad4e 0%, #ffc870 100%); padding: 30px; border-radius: 8px; margin-bottom: 24px; text-align: center;"> <p style="margin: 0 0 20px 0; color: #003366; font-size: 17px; line-height: 1.6;">Find important information, resources, and updates for our school community.</p> <div style="display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;"> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #003366; color: #ffffff; border: 2px solid #003366; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;">Get Started</a> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: transparent; color: #003366; border: 2px solid #003366; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;">Learn More</a> </div></div><!-- CENTERED TEXT HERO WITH BUTTON --><div style="background: #003366; padding: 40px 30px; border-radius: 8px; margin-bottom: 24px; text-align: center;"> <p style="margin: 0 0 16px 0; color: #ffffff; font-size: 18px; line-height: 1.6; font-weight: 600;">Welcome to our community where every student matters and every voice is heard.</p> <p style="margin: 0; color: #e8f7fc; font-size: 15px; line-height: 1.6;">Together we build a foundation for lifelong learning and success.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #54c8eb; color: #003366; border: 2px solid #54c8eb; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; margin-top: 20px; transition: all 0.3s ease; cursor: pointer;">Join Us</a></div><!-- MINIMAL HERO WITH BUTTON --><div style="background: #f8f9fa; border: 2px solid #dce0ef; border-radius: 8px; padding: 30px; margin-bottom: 24px; text-align: center;"> <p style="margin: 0 0 16px 0; color: #003366; font-size: 17px; line-height: 1.6;">Quick access to the resources and information you need.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #3a57a8; color: #ffffff; border: 2px solid #3a57a8; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;">View Resources</a></div><!-- INFO CALLOUT HERO WITH BUTTON --><div style="background: #e8f7fc; border-radius: 8px; padding: 30px; margin-bottom: 24px; display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;"> <span aria-hidden="true" style="flex-shrink: 0; font-size: 32px; line-height: 1; font-weight: bold; color: #54c8eb;">ℹ</span> <div style="flex: 1; min-width: 250px;"> <p style="margin: 0 0 12px 0; color: #003366; font-size: 17px; line-height: 1.6; font-weight: 600;">Everything you need to know about enrollment and registration.</p> <p style="margin: 0 0 16px 0; color: #003366; font-size: 15px; line-height: 1.6;">Follow the steps below to complete the process and get your student enrolled for the upcoming school year.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #003366; color: #ffffff; border: 2px solid #003366; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;">Start Enrollment</a> </div></div><!-- ANNOUNCEMENT HERO WITH BUTTON --><div style="background: #e6eaf0; border-radius: 8px; padding: 30px; margin-bottom: 24px; position: relative; overflow: hidden;"> <div style="position: absolute; top: 16px; right: 16px; background-color: #f0ad4e; color: #003366; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; text-transform: uppercase;">Important</div> <p style="margin: 0 0 12px 0; color: #003366; font-size: 17px; line-height: 1.6; font-weight: 600;">Important updates and announcements for the current school year.</p> <p style="margin: 0 0 16px 0; color: #003366; font-size: 15px; line-height: 1.6;">Stay informed about key dates, policy changes, and district-wide initiatives.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #003366; color: #ffffff; border: 2px solid #003366; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;">View Announcements</a></div><!-- IMAGE BACKGROUND HERO (DARK OVERLAY) --><div style="background-image: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('YOUR-IMAGE-URL-HERE'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 60px 30px; border-radius: 8px; margin-bottom: 24px; text-align: center; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center;" role="img" aria-label="Welcome to Poway Unified School District"> <p style="margin: 0 0 16px 0; color: #ffffff; font-size: 20px; line-height: 1.6; font-weight: 600; max-width: 800px; text-shadow: 0 2px 4px rgba(0,0,0,0.3);">Welcome to Poway Unified School District</p> <p style="margin: 0; color: #e8f7fc; font-size: 16px; line-height: 1.6; max-width: 700px; text-shadow: 0 2px 4px rgba(0,0,0,0.3);">Empowering students to achieve academic excellence and become lifelong learners in a supportive, innovative environment.</p></div><!-- IMAGE BACKGROUND HERO WITH BUTTON (DARK OVERLAY) --><div style="background-image: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('YOUR-IMAGE-URL-HERE'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 60px 30px; border-radius: 8px; margin-bottom: 24px; text-align: center; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center;" role="img" aria-label="Welcome to Poway Unified School District"> <p style="margin: 0 0 16px 0; color: #ffffff; font-size: 20px; line-height: 1.6; font-weight: 600; max-width: 800px; text-shadow: 0 2px 4px rgba(0,0,0,0.3);">Welcome to Poway Unified School District</p> <p style="margin: 0 0 24px 0; color: #e8f7fc; font-size: 16px; line-height: 1.6; max-width: 700px; text-shadow: 0 2px 4px rgba(0,0,0,0.3);">Empowering students to achieve academic excellence and become lifelong learners in a supportive, innovative environment.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #f0ad4e; color: #003366; border: 2px solid #f0ad4e; padding: 12px 28px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.3);">Explore Our Schools</a></div><!-- IMAGE BACKGROUND HERO WITH TWO BUTTONS (LIGHT OVERLAY) --><div style="background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('YOUR-IMAGE-URL-HERE'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 60px 30px; border-radius: 8px; margin-bottom: 24px; text-align: center; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center;" role="img" aria-label="Discover Excellence in Education"> <p style="margin: 0 0 16px 0; color: #003366; font-size: 20px; line-height: 1.6; font-weight: 600; max-width: 800px;">Discover Excellence in Education</p> <p style="margin: 0 0 24px 0; color: #003366; font-size: 16px; line-height: 1.6; max-width: 700px;">Join our community of learners dedicated to academic achievement, innovation, and preparing students for future success.</p> <div style="display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;"> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #003366; color: #ffffff; border: 2px solid #003366; padding: 12px 28px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;">Get Started</a> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: transparent; color: #003366; border: 2px solid #003366; padding: 12px 28px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;">Learn More</a> </div></div><!-- IMAGE BACKGROUND HERO (GRADIENT OVERLAY BOTTOM TO TOP) --><div style="background-image: linear-gradient(to top, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.3)), url('YOUR-IMAGE-URL-HERE'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 60px 30px; border-radius: 8px; margin-bottom: 24px; text-align: center; min-height: 350px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;" role="img" aria-label="Building Tomorrow's Leaders Today"> <p style="margin: 0 0 12px 0; color: #ffffff; font-size: 20px; line-height: 1.6; font-weight: 600; max-width: 800px; text-shadow: 0 2px 4px rgba(0,0,0,0.4);">Building Tomorrow's Leaders Today</p> <p style="margin: 0; color: #e8f7fc; font-size: 16px; line-height: 1.6; max-width: 700px; text-shadow: 0 2px 4px rgba(0,0,0,0.4);">Our commitment to excellence ensures every student has the opportunity to thrive and succeed.</p></div><!-- IMAGE BACKGROUND HERO WITH BUTTON (LEFT-ALIGNED, GRADIENT LEFT TO RIGHT) --><div style="background-image: linear-gradient(to right, rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.5)), url('YOUR-IMAGE-URL-HERE'); background-size: cover; background-position: center; background-repeat: no-repeat; padding: 60px 40px; border-radius: 8px; margin-bottom: 24px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;" role="img" aria-label="Department of Educational Excellence"> <p style="margin: 0 0 16px 0; color: #ffffff; font-size: 22px; line-height: 1.4; font-weight: 600; max-width: 600px; text-shadow: 0 2px 4px rgba(0,0,0,0.4);">Department of Educational Excellence</p> <p style="margin: 0 0 24px 0; color: #e8f7fc; font-size: 16px; line-height: 1.6; max-width: 550px; text-shadow: 0 2px 4px rgba(0,0,0,0.4);">Providing resources, support, and innovative programs to ensure every student reaches their full potential.</p> <a href="https://www.example.com" target="_blank" rel="noopener noreferrer" style="display: inline-block; background-color: #54c8eb; color: #003366; border: 2px solid #54c8eb; padding: 12px 28px; text-decoration: none; border-radius: 4px; font-size: 16px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.3);">Explore Our Services</a></div>| Style | background-color | color | border | Best Paired With |
|---|---|---|---|---|
| Primary Navy | #003366 | #ffffff | 2px solid #003366 | Department, Info Callout, Announcement |
| Light Blue | #54c8eb | #003366 | 2px solid #54c8eb | Centered Text, Left Gradient image |
| Gold | #f0ad4e | #003366 | 2px solid #f0ad4e | Welcome Hero, Dark Overlay image |
| Outline | transparent | #003366 | 2px solid #003366 | Page Intro (secondary action), Light Overlay image |
| Alt Navy | #3a57a8 | #ffffff | 2px solid #3a57a8 | Minimal Hero |
Change subtitle text — Update the first <p> tag content. Keep to 1–2 sentences maximum.
Change description text — Update the second <p> tag content. Keep to 2–3 sentences maximum.
Add a button — Copy a button <a> tag from the Button Styles table above and paste it after the last <p> tag inside the hero <div>.
Change button text — Replace the text between the opening and closing <a> tags with your action-oriented label (e.g., “Enroll Now”, “Get Started”, “View Resources”).
Change button URL — Update the href="https://www.example.com" attribute with your actual destination URL.
Change button color — Swap the background-color, color, and border values using the Button Styles table above.
Add a second button — Wrap both <a> buttons in a flex container: <div style="display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;">...</div>. See Page Intro and Light Overlay examples.
Change the icon (Info Callout) — Replace the ℹ Unicode character in the <span> with another symbol (e.g., ●, ★, ✓, ⚠).
Adjust spacing — Modify padding values (e.g., 30px, 40px) on the outer <div> for more or less vertical space.
Remove elements — Delete an entire <p> or <a> tag for a simpler, stripped-down version of any hero.
Change background image — Replace YOUR-IMAGE-URL-HERE with your image URL. Use high-resolution images (1920×800px minimum).
Adjust overlay darkness — Change the rgba() opacity value: 0.5 = 50% dark, 0.75 = 75% dark, 0.85 = 85% light, 0.9 = 90% dark.
Change overlay gradient direction — Replace linear-gradient(rgba(...), rgba(...)) with linear-gradient(to top, ...) for bottom-to-top or linear-gradient(to right, ...) for left-to-right.
Change text alignment for image heroes — Modify justify-content (center / flex-start / flex-end) and align-items (center / flex-start / flex-end) on the outer <div>.
Adjust minimum height — Change min-height (e.g., 300px, 400px, 500px) for taller or shorter image heroes.