Site logo

Archived topic

Problems with the new Group-Block and the internal distance/ padding

3 replies · Started by Samuel on April 22, 2019

Viewing posts 1–4 of 4

Moin moin,

I am currently working with the new Group-Block from Gutenberg 5.5. Unfortunately I don't have an inner distance. Therefore I have tried the following:

.wp-block-group.has-background {
    padding: 20px 30px;
}

But that would be the result: http://prntscr.com/nfcalh

I am aware that Gutenberg is still in development and not working 100% with the themes. It would still be nice if I could at least solve this temporarily.

Hi there,

within your CSS add:

box-sizing: border-box;

This will keep the padding within the elements width as opposed to increasing its size.

Group Block still requires some 'love' from the Gutenberg Developers. We're not sure who will be left responsible for adding Block styling. When we know we will react accordingly.

Nice. Thank You very much.

Glad to be of help

This archived topic is closed to new replies.