Row Block

Go back to the list of Blocks

Use the Row block to arrange blocks horizontally.  

A row block in the block editor

Click the (+) icon to open the block inserter pop-up window and search for the Row block.

Adding a row block using the block inserter

You can also use the keyboard shortcut /row-block to quickly insert a Row block.

Detailed instructions on adding blocks can be found here.

Block toolbar

To view the block toolbar, click on the block, and the toolbar will be displayed.

Every block comes with unique toolbar icons. These block-specific controls allow you to manipulate the block right in the editor.

The Row block shows six buttons in the block toolbar:

Block toolbar for the row block
  • Transform to
  • Drag
  • Move up/down
  • Change items justification
  • Change vertical alignment
  • Align
  • Options

Transform to

Tranform option in the row block

Click on the Transform button to convert the Row block into Quote, Columns, or Cover blocks. It’s also possible to unwrap the Row block.  

Drag button

Drag button in the row block

To drag and drop the block to a new location on the page template, click and hold the Drag button, then drag it to the new location. The blue separator line indicates where the block will be placed. Release the left mouse button when you find the new location to place the block.

Move arrows

Move arrows in the row block

The Move up and Move down buttons can be used to move the block up and down on the page.

Detailed instructions on moving a block within the editor can be found here

Change items justification 

Change items justification in the row block

Click the Change items justification button in the Block toolbar to display the justification drop-down. You can justify the block text to the left, make it center-justified, align it to the right or leave a space between items.

Change vertical alignment

Change vertical alignment in the row block

Use the Change vertical alignment tool to reposition the Row block. The following is a list of the block alignment options:

  • Align top
  • Align middle
  • Align bottom

Change alignment

Change alignment tool in the row block

Use the Change alignment tool to change the width of the Row block. The following is a list of the block width options:

  • None
  • Wide width
  • Full width

More options

More options in the row block

The More option on a block toolbar gives you more features to customize the block.

  • Show/Hide more settings opens or closes the block settings panel on the editor’s sidebar. Its functionality is similar to clicking the Settings button next to the Publish button.
  • Copy block adds the Row block to the clipboard. Then, you can paste it anywhere you want in the block editor.
  • Duplicate creates a copy of the selected block that appears after the current block.
  • Insert Before inserts a new block before the selected block(s).
  • Insert After inserts a new block after the selected block(s).
  • Move to lets you use a blue line on the editor to indicate the new position for the selected block. Use your keyboard’s up and down arrows to move the blue line. When the line is in the desired position, press Enter to move the selected block to that position.
  • Lock lets you prevent users from moving or deleting the selected block. A pop-up window will appear to set the block locking attribute to the selected block. You can opt to disable movement, prevent removal, or both for the selected block.
  • Create Reusable block lets you add the selected block to a list of reusable blocks, so you can use them on other posts or pages as well.  
  • Group allows you to create a group of blocks and treat them as a unit. You can, for instance, add a common background color or other blocks to the group.
  • Remove Row deletes the selected block from the content.

Block Settings

The block settings panel contains customization options specific to the block. To open it, select the block and click the Settings button next to the Publish button.

Settings icon in the block editor

Here are the options for the Row block:

Settings

Click the Group or Stack button in the Block Settings to transform the Row block to Group or Stack blocks. 

Group and Stack block options for the row block

Layout

The Row block provides Layout settings options to change the justification or orientation of the text and to wrap to multiple lines.

For details, refer to this support article: Layout settings overview

Color

The Row block provides Color settings options to change the text, background, and link colors.

For details, refer to this support article: Color settings overview

Typography

The Row block provides typography settings to change the font family, appearance, line height, letter spacing, decoration, letter case, and font size.

For details, refer to this support article: Typography settings overview

Dimensions

The Row block provides dimension settings options to add padding and margin.

For details, refer to this support article: Dimension settings overview

Border

The Row block provides border settings options to add border color, width, and radius.

For details refer to this support article: Border settings overview

Advanced

The Advanced section lets you add CSS class(es) to your block. This will allow you to write custom CSS and styles to the block. 

CSS class(es) option in the row block settings

Changelog

  • Updated 2022-11-25
    • Added link to Border and layout settings overview page and removed content from this page
  • Created 2022-11-24

Was this article helpful? How could it be improved?

First published

Last updated