Support

Account

Home Forums Gutenberg How to hide alignment bar in certain blocks?

Helping

How to hide alignment bar in certain blocks?

  • I’m using the latest 5.8.0-beta3 to use ACF in custom Gutenberg blocks and so far it’s been working well.

    I was wondering if it was possible to hide the alignment bar for some of the blocks (align left, align center, etc..)?

  • Yes, it’s possible with the following:

    'supports' => array( 'align' =>false ),

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to hide alignment bar in certain blocks?’ is closed to new replies.