Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Default Gutenberg Image Block – Margin/padding

  • owlsliveintrees

    Hi GP team,

    Doesn’t the default, non-GB image block in Gutenberg have margin/padding controls? Are those disabled by GP? If not, why can’t i find them πŸ˜΅β€πŸ’«

  • Hi there,

    You need to add this snippet to enable the controls:

    add_action( 'after_setup_theme', function() {
        add_theme_support( 'appearance-tools' );
        add_theme_support( 'custom-spacing' );
    } );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

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