Editorial text in columns with a drop cap in WordPress
A magazine-style article: title band, standfirst, drop cap, subheadings and a pull quote, set in three columns of equal height. Pure CSS, no script at all.
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, Texte éditorial en colonnes avec lettrine
* Description: Un article façon magazine : bandeau de titre, chapô, lettrine, intertitres et citation mise en exergue, sur trois colonnes de même hauteur. Tout en CSS, sans aucun script. Ajoute la composition « Texte éditorial en colonnes avec lettrine » à 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-features-mise-en-page-magazine
*<!-- wp:group {"tagName": "article", "className": "fmg", "layout": {"type": "default"}} -->
<article class="wp-block-group fmg"><!-- wp:group {"tagName": "header", "className": "fmg__band", "layout": {"type": "default"}} -->
<header class="wp-block-group fmg__band"><!-- wp:paragraph {"className": "fmg__kicker"} -->
<p class="fmg__kicker">Notre histoire</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level": 2, "className": "fmg__title", "anchor": "fmg-titre"} -->
<h2 class="wp-block-heading fmg__title" id="fmg-titre">Quarante ans de levain rue Saint-Georges</h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"className": "fmg__standfirst"} -->
<p class="fmg__standfirst">Depuis 1985, la boulangerie Aubert pétrit chaque nuit le même levain, nourri à la farine d'un moulin du Beaujolais. Rencontre avec Claire Aubert, qui a repris le fournil de ses parents.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"className": "fmg__byline"} -->:root {
--fmg-paper: #fffdf9;
--fmg-text: #1c1917;
--fmg-body: #292524;
--fmg-muted: #57534e;
--fmg-line: #e2d9cc;
--fmg-accent: #9f1239;
--fmg-on-accent: #ffffff;
--fmg-band: #1c1917;
--fmg-band-text: #faf7f2;
--fmg-band-soft: #e7e0d6;
--fmg-band-muted: #d6cec3;Free component: copy it freely, including for commercial projects.
Other features components in WordPress
Features components in WordPress
Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.
- Tailwind
- React
- CSS
- WordPress

Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.
- Tailwind
- React
- CSS
- WordPress

The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress

A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.
- Tailwind
- React
- CSS
- WordPress

A two-offer table: checked rows, a column highlighted from top to bottom and one call-to-action button per offer. Pure HTML and CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress

A simulator that estimates the heating bill and the yearly savings in euros from the floor area, current energy and chosen works.
- Tailwind
- React
- CSS
- WordPress