Skip to Content

Advanced Gutenberg Editor

Summary

This tutorial goes beyond the basics of the Gutenberg editor, covering how to break content out of the container width using full-width groups and the cover block, how columns can control paragraph width, the box model behind margin, border, and padding, and practical ways to manage spacing — including spacer blocks and a handy third-party flexible spacer. It closes with a couple of lesser-known typography tricks. If you’re not yet familiar with the editor at all, it’s worth starting with the beginner Gutenberg tutorial first.

Video

Introduction

This tutorial covers some of the more advanced options the editor provides for structuring your content, working with empty space, and fine-tuning typography — the kind of settings behind more elaborate page layouts.

Full-Width Groups & the Cover Block

One unique feature the theme provides is the ability to break out of the regular container width — for example, having a gradient background stretch all the way to the edges of the screen. To do this, create a Group block and set its width to Full Width; most elements support this option, so an image or any other block can be pushed all the way to the sides too.

The reason to wrap content in a group specifically, rather than setting an element to full width directly, is that you often want additional content inside that still lines up with the regular container. To do that, nest a second group inside the full-width one, and set that inner group’s width to the normal contained width — that keeps its content properly aligned while the outer background still spans the full screen.

The Group block supports an image background, but the Cover block is built specifically for this purpose and gives you more control over the background, including video backgrounds — worth checking out if you need more than a simple image.

Using Columns to Control Width

Columns are one of the most essential blocks in the whole editor. Beyond the obvious use of placing content side by side, columns are also useful for controlling the width of a single paragraph — there’s a well-known rule that a line of text shouldn’t run past roughly 80 characters, since longer lines become genuinely harder to read.

It might seem like pressing Shift+Enter to force a line break would solve this, but that approach bakes the line breaks in permanently, so the paragraph no longer reflows properly — which looks broken on a mobile screen where the line lengths need to shrink. Using a column instead solves this properly, and you can set an exact width for it using the percentage field in the side panel.

Understanding the Box Model

Working with empty space effectively means understanding the box model — margin, border, and padding. Margin adds space outside an element; border sits right at the edge, forming a visible line around the element; and padding adds space inside the element, between its edge and its content.

Setting Spacing in the Sidebar Panel

Every block offers margin, padding, and border controls in the settings sidebar. One button lets you apply the same value to all four sides at once; otherwise you can set values separately for top/bottom versus left/right. Another toggle switches between predefined spacing values — which are responsive and adjust automatically to the screen size — and specific custom values.

Using Spacer Blocks

In practice, it’s usually better to avoid these sidebar spacing controls unless there’s no other option. Spacer blocks are generally the easier tool: they show up clearly in the List View, so they’re easy to find, move around, or remove. A spacer placed outside a group acts like a margin; placed inside a group, it acts like padding. This only works for vertical spacing, but horizontal spacing is rarely needed — and when it is, columns are usually the better tool anyway.

The default Spacer block offers either predefined responsive values or a custom value. If using a custom value, it’s worth sticking to rem units — one rem equals 16 pixels, the base font size, so any multiple of 16 tends to look visually consistent throughout a design.

The Flexible Spacer Block

Unfortunately, the default Spacer block doesn’t let you set a different specific value per screen size to shrink it on mobile — and while newer versions of the Gutenberg editor added responsive margin and padding controls, that feature still doesn’t extend to the Spacer block itself. A third-party block called Flexible Spacer fills that gap — search for it in the block inserter, install it, and it lets you adjust the spacer’s value per screen size directly.

Removing Margins

There’s one situation where the sidebar’s margin setting is genuinely the right tool: removing a margin entirely. For example, to pull a paragraph in tight against a heading above it, open the margin setting and click at the very start of its scale to set it to zero. It’s a slightly unintuitive place to look for that control, but that’s where it lives.

Advanced Typography Settings

Two lesser-known typography options offer extra control. Within a heading or paragraph block, clicking the three-dot menu reveals an option to add specific typography settings — letter spacing, for instance, can be increased this way for a more spaced-out heading style.

Real-World Example: Client Reviews

Another hidden option lives under the small arrow in a block’s toolbar: it lets you change the color of just part of a text selection using the Highlight tool — select the specific text, then apply the highlight color to just that portion.

A client testimonials section pulls together nearly everything covered in this tutorial: three columns, each with its own background color and padding, multiple paragraphs with different spacing between them, and names and titles with their margins removed entirely to sit tight against the text above.

Conclusion

That covers the more advanced side of the Gutenberg editor. Please let me know if there’s anything else you find confusing. Thanks, and take care.