WordPress

Gutenberg full width of content

There is an easy way to make a content block from Gutenberg run across the entire width in a theme you build yourself on WordPress.

All you have to do is add this code to your functions.php:

/** Gutenberg full width */

function jadotheme_gutenwidth()
{
    add_theme_support('align-wide');
}
add_action('after_setup_theme', 'jadotheme_gutenwidth');

Now you can also „expand“ the content blocks to the full width: