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

Home Forums Support [Resolved] Problems with the new Group-Block and the internal distance/ padding

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #875669
    Samuel

    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.

    #875694
    David
    Staff
    Customer Support

    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.

    #875733
    Samuel

    Nice. Thank You very much.

    #875734
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.