Default GenerateBlock container padding

When inserting a GenerateBlocks container, a default padding of 40px is being applied by default.

Here is one of Tom’s gist to set your own default paddings. You can add the code to your functions.php or through a functionality plugin.

add_filter( 'generateblocks_defaults', function( $defaults ) {
    $defaults['container']['paddingTop'] = '';
    $defaults['container']['paddingRight'] = '';
    $defaults['container']['paddingBottom'] = '';
    $defaults['container']['paddingLeft'] = '';
  
    return $defaults;
} );

The above example applies no values to the container paddings. Of course, you can apply your own values between the single quotation marks (=”).