A nonprofit hero section with a full-width volunteer photo, a Donate now and a Volunteer button and three impact numbers, built from core Gutenberg blocks for charity websites.
Also known as: charity website hero, donation call to action section, nonprofit landing page header, fundraising hero section, donate button banner
This nonprofit hero with a donation call to action is a WordPress block pattern for charity, food bank and community websites. A full-width volunteer photo with a warm dark overlay carries the headline, a short mission statement, a Donate now button, a Become a volunteer button and three impact numbers. Use it as the first section of a charity homepage or fundraising landing page; it is built only from core Gutenberg blocks.
How it works
The outer block is a full-width Cover with the Unsplash photo as background, a #1c0f08 overlay at 70% opacity, a minimum height of 780px and a 1160px content width. Inside, a Group limited to 700px and aligned left holds a pill-shaped label (a small Group with a 1px orange border), an H1, the intro paragraph and a Buttons block with a filled orange pill button and a white outline pill button. Below it a Columns block with three Columns shows the impact numbers; each Column has a 3px orange top border, a large number and a one-line label. On phones the buttons and the three numbers stack, and the heading scales down.
How to use it
Copy the block markup with the copy button.
In the block editor, click into an empty paragraph and paste; WordPress turns the markup into blocks.
Replace the photo, the headline, the numbers and the button links with your own.
Customization
Background photo: select the Cover, Replace in the toolbar; the photo comes from Unsplash, so use one of your own volunteers or projects.
Overlay: Cover > Color > Overlay #1c0f08, and Overlay opacity 70; raise it if your photo is bright.
Height and spacing: Cover > Dimensions > Minimum height 780px, Padding 136px top and 72px bottom.
Donate button: Color > Background #c2410c, Text #ffffff, Border > Radius 999px.
Volunteer button: Color > Background transparent, Border > Width 2px, Color #ffffff.
Impact numbers: select a Column, Border > top 3px#ea580c; the number paragraph uses Typography > Font size 48px, weight 800.
Label pill: the small Group uses Border > Color #fb923c and Radius 999px, the text Color #fed7aa.
Use cases
Food banks and meal programs: lead with the mission and turn visitors into donors and volunteers.
Charities running a seasonal appeal: replace the numbers with the campaign goal and amount raised.
Animal shelters and rescue groups: swap the photo and show animals rehomed and volunteers.
Community foundations: introduce local programs with proof of impact right in the first screen.
Accessibility
The headline is a real H1 and the photo has descriptive alt text. White and light text sit on a 70% dark overlay, and the donate button uses #c2410c with white text, which meets WCAG AA contrast; the brighter #ea580c is used only for decorative borders. Both buttons are real links with clear labels; replace the # links with your donation and volunteer sign-up pages.
Nonprofit Hero with Donation Call to Action at a glance
Can I use the Nonprofit Hero with Donation Call to Action code for free?
Yes. You can copy or download the block markup and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.
How do I add it to my WordPress site?
Copy the block markup, open a page in the block editor, click into an empty paragraph and paste. WordPress turns it into regular blocks that you can edit like any other content. You can also paste it in the Code editor view (Options menu > Code editor).
Does it need a page builder or plugin?
No. The pattern is built only from core blocks such as Group, Columns, Heading, Image and Buttons, so it works without Elementor, Spectra, Kadence or any other plugin. Colors and spacing are set on the blocks themselves; headings and text use your theme's fonts.
Will it look the same in my theme?
The layout, colors and spacing come with the blocks, so they carry over. Fonts, link styles and the content width follow your theme, so small differences are normal. The live demo shows the pattern in the default Twenty Twenty-Five theme. It works best with block themes; in classic themes the block editor still renders it, with your theme's styles.
Does it work on mobile?
Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.
How to install
Copy the block markup above.
Open a page or post in the WordPress block editor, click into an empty paragraph and paste. The editor turns the markup into blocks.
Replace the sample text and images. To reuse it, select the blocks and choose Create pattern from the block toolbar menu.
Uses only core WordPress blocks, so no plugin is needed. Tested with WordPress 6.8 and later. Fonts come from your theme; the live demo uses the default Twenty Twenty-Five theme. WebDevSnippets is not affiliated with or endorsed by the WordPress Foundation.
Nonprofit Hero with Donation Call to Action · free WordPress hero section template
Pure CSS split hero with headline, buttons and stats beside a full-height photo cut on a diagonal with clip-path, plus an accent stripe and rating badge.
A dental clinic hero section with a booking button, a call button, three patient trust points and a rounded treatment room photo, built from core Gutenberg blocks.
Full-width Bootstrap 6 hero with a muted background video or slow-zoom poster photo, dark gradient overlay, headline, two buttons, stats and a pause control.