Hero with giant watermark words in WordPress
A dark hero where very large words, outlined or at low opacity, pass behind a two-column text. The animation is CSS only, with no script and no image.
Here is an excerpt of this component's code in WordPress. The full code is free for members, ready to copy into your project.
This component also comes in
The code in WordPress
<?php
/**
* Plugin Name: Forge, Héros avec mots géants en filigrane
* Description: Un héros sombre où de très grands mots, en contour ou à faible opacité, passent derrière un texte sur deux colonnes. L'animation est en CSS seul, sans aucun script ni image. Ajoute la composition « Héros avec mots géants en filigrane » à l'éditeur de blocs.
* Version: 1.0.0
* Requires at least: 6.6
* Requires PHP: 8.1
* Author: Forge
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: forge-hero-mots-geants-filigrane
*<!-- wp:group {"tagName": "section", "className": "hmgf hmgf__root", "layout": {"type": "default"}} -->
<section class="wp-block-group hmgf hmgf__root"><!-- wp:html -->
<div class="hmgf__deco" aria-hidden="true">
<div class="hmgf__band">
<span class="hmgf__words hmgf__words--outline" data-hmgf-words="Chêne Noyer Frêne Merisier Hêtre"></span>
</div>
<div class="hmgf__band hmgf__band--rev">
<span class="hmgf__words hmgf__words--fill" data-hmgf-words="Merisier Hêtre Chêne Frêne Noyer"></span>
</div>
<div class="hmgf__band">
<span class="hmgf__words hmgf__words--outline" data-hmgf-words="Frêne Chêne Hêtre Noyer Merisier"></span>
</div>:root {
--hmgf-bg: #1b2a24;
--hmgf-text: #f8f3ea;
--hmgf-muted: #e6dfd2;
--hmgf-line: #5d6f66;
--hmgf-accent: #f0c27a;
--hmgf-accent-hover: #f7d59f;
--hmgf-on: #23170a;
--hmgf-stroke: rgb(242 232 216 / 0.2);
--hmgf-fill: rgb(242 232 216 / 0.08);
--demo-hero-mots-geants-filigrane-bg: #ffffff;
--demo-hero-mots-geants-filigrane-text: #1b2a24;Free component: copy it freely, including for commercial projects.
Other hero sections components in WordPress
Hero sections components in WordPress
A festival or fair header: dates, venue, featured artists, a real countdown to opening and ticket options.
- Tailwind
- React
- CSS
- WordPress

Headline, service area, Google rating and job-site photo, with a direct call button and a short callback form (name, phone, need).
- Tailwind
- React
- CSS
- WordPress

A bright, warm hero: highlighted promise, two buttons, an avatar stack with a rating out of 5, and on the right a customer quote surrounded by result chips.
- Tailwind
- React
- CSS
- WordPress

Headline, promise and two actions on the left, vector illustration on the right.
- Tailwind
- React
- CSS
- WordPress

Editorial hero
FreeA large serif composition, sober and composed, for liberal professions.
- Tailwind
- React
- CSS
- WordPress

A powerful headline followed by a row of three reassuring figures.
- Tailwind
- React
- CSS
- WordPress