Back to Support Content and Media Blocks Dimensions Settings

Dimensions Settings

Many blocks in the WordPress editor contain dimension settings to control the appearance of your content. This guide will show you how to use these settings.

Access the Dimensions Settings

When you click on a block, you will find the block settings in the right sidebar. If you do not see the sidebar, you may need to click the Settings icon in the top-right corner to bring up the settings. This icon looks like a square with two uneven columns:

The settings icon in the Editor with a black background and the tooltip "Settings" below it.
Click the Settings icon to open the block settings

Within the block settings, you may find the dimensions settings right away. Other blocks have their dimensions settings located under the Styles tab. The image on the right shows a block with the dimensions settings underneath the Styles tab, accessible by clicking the circular icon.

Note that not every block includes dimensions settings. The available settings will vary depending on the theme and the type of block.

A block's settings with Dimensions shown under the Styles tab.

View all Settings

If you don’t see a particular setting, click the … or + icon to the right of Dimensions (as shown on the right.) You can then choose the option you want to access:

  • Padding
  • Margin
  • Block spacing
  • Minimum height

Note that not every block includes all these settings. The available dimensions settings will vary depending on the theme and the type of block.

Click each setting once, and a checkmark will appear next to it. You can then close the three dots menu to view the setting.

An arrow points to the three dots button next to dimensions, revealing clickable options for padding, margin, block spacing, and minimum height.

Padding and Margin

The Padding setting affects the space around the block’s content, inside its borders.

The Margin setting affects the space outside of the block’s borders.

Use the slider to increase or decrease the padding or margin around the block. For more granular control, you can set a specific value by clicking the slider icon as shown here (you can also choose the units used):

An animated GIF shows the process of clicking on PX to open up a dropdown of other units.

You can set different padding and margin values for the top, right, bottom, and left sides of the block. Click the unlink sides icon, represented by a chain link with a line through it, as shown here:

An arrow points to the link icon next to Padding and Margin, which opens up the controls for top, right, bottom, and left dimensions.

Block Spacing

Use block spacing to adjust the distance between any two blocks within blocks like columns, group, row, and stack. You can customize block spacing as described below:

Block spacing settings.
  1. Click the dotted lines to increase or decrease the spacing between your block items.
  2. Click on the settings icon to set a custom value for your block spacing and choose the units used.
  3. Click on the unlink sides icon to unlink your block spacing settings, so you can set different values for each side of the block.

Minimum Height

Set a minimum height on blocks like cover, group, rows, and the Content block. This ensures the content will show in the maximum height you set, regardless of the viewer’s screen size.

Units

When using Dimensions settings, you can choose from the following units:

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!