Site logo

Archived topic

Increase block spacing

5 replies · Started by Daniele on June 30, 2021

Viewing posts 1–6 of 6

Hi,
I would like to increase gutenberg block spacing, in particular I found that this CSS control that:

.entry-content > [class*="wp-block-"]:not(:last-child) {
margin-bottom: 1.6em;
}

Is there any setting in the editor or have I to override this CSS to increase the spacing?

thanks!

Hi Daniele,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

It's danphotostudio.com

Hi there,

the spacing between blocks is defined by the Typography Body Line-height.
The best method of changing it is with your own CSS eg.

.entry-content > [class*="wp-block-"]:not(:last-child) {
    margin-bottom: 5.6em;
}

Thanks, I will!
Modern website trend is to have more white spaces between content

Glad to be of help

This archived topic is closed to new replies.