Question

With some WP update, the single block button suddenly disappeared from Gutenberg blocks. Now, we only have a block 'Buttons' element (don't know why actually. I reckon' that >80 per cent of all uses are single button scenarios...).

So, how can I adjust alignment from within the editor, if I have only a single button? Say, I need to center the button. Can't find any alignment options with the element anymore either, as people suggested here.

Était-ce utile?

La solution

  1. select the entire 'buttons' block select the entire 'buttons' block by to block toolbar, list view, choose buttons

  2. once the entire buttons block is selected, go to the justify toolbar icon, and select how to center

For future reference, the wordpress.com button article is usually current although it is currently out of date at the moment.

Licencié sous: CC-BY-SA avec attribution
Non affilié à wordpress.stackexchange
scroll top