Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Setup & site building · Guide

How to Make a Block Smaller in WordPress (Step by Step)

How to Make a Block Smaller in WordPress (Step by Step)

Short answer

Select the block and open its settings sidebar. Resize images with handles or width fields, set button and column widths as percentages, limit a Group's content width under Layout, and reduce padding, margin and font size under Dimensions and Typography.

Key takeaways

  • Each block type has its own size controls.
  • Images resize with handles, width fields or resolution.
  • Group content width keeps whole sections narrow.
  • Padding and font size control text block size.
  • Use a CSS class when no size option exists.

How do you make a block smaller in WordPress?

Select the block and use its sidebar settings: width options for images, buttons and columns, the content width setting for Group blocks, or padding, margin and font size under Dimensions and Typography.

There is no single resize handle for every block. Each block type exposes the size controls that make sense for it.

Open the block settings sidebar with the gear icon at the top right of the editor. Then look for panels named Settings, Dimensions, Typography or Layout.

The Dimension Settings overview on WordPress.org explains the spacing and size controls blocks can support.

Which controls appear depends on the block and your theme. Themes can turn some options on or off.

Which control should you use for each block?

Pick the control that matches the block type, since images, buttons, columns, groups and text each shrink in a different way.

BlockMain way to make it smallerWhere
ImageWidth and height, resolution, or drag handlesBlock settings and canvas
ButtonWidth percentageBlock settings
Columns and ColumnColumn width percentageColumn block settings
Group, Row, StackContent width or width of child itemsLayout panel
CoverMinimum height, paddingDimensions panel
Paragraph or HeadingFont size, paddingTypography and Dimensions
SpacerHeight or widthBlock settings

Below, each method is explained with steps.

How do you make an image block smaller?

Select the image, then drag the round handles on its edges or set width and height in the sidebar; you can also choose a smaller resolution such as Medium.

  1. Click the image block.
  2. Drag a corner handle to resize it on the canvas. The image keeps its proportions.
  3. Or open the sidebar and enter exact Width and Height values, or pick an Aspect ratio.
  4. Under Resolution, choose Medium or Thumbnail to load a smaller file.
  5. Set the alignment to None, Left, Center or Right so the image does not stretch to wide or full width.

Changing resolution changes the actual file loaded, which helps speed. Resizing alone may still load a large file scaled down.

Our guide to properly sizing images in WordPress explains WordPress image sizes in detail.

Images inside a Gallery block follow the gallery's column count instead. Increase the number of columns to make each image smaller.

The Image block documentation lists every option.

How do you make a button smaller?

Select the Button block and set a width percentage in the sidebar, or reduce its font size and padding to make the button itself more compact.

Under Width settings, choose 25, 50, 75 or 100 percent of the container. Leaving it unset keeps the button as wide as its text.

To shrink height, open Typography and pick a smaller font size. Then reduce top and bottom padding under Dimensions.

Keep buttons big enough to tap. Small touch targets frustrate mobile visitors.

W3C guidance on target size suggests a minimum size for clickable areas.

How do you make a column narrower?

Select a single Column inside the Columns block and set its Width in the sidebar; the other columns share the remaining space.

  1. Click into the column you want to shrink. Use the breadcrumb at the bottom of the editor to select the Column, not the parent Columns block.
  2. In the sidebar, set Width, such as 33 percent.
  3. Adjust other columns if you want fixed sizes for each.

The parent Columns block controls the gap between columns under Dimensions. A smaller gap makes the whole layout tighter.

By default, columns stack on mobile. That setting is also on the parent Columns block.

How do you limit the width of a group of blocks?

Wrap the blocks in a Group, then under Layout turn on Inner blocks use content width and set a smaller content width so everything inside stays narrow.

  1. Select the blocks, then choose Group from the toolbar.
  2. Open the Layout panel in the sidebar.
  3. Turn on the content width option, then enter a value like 600px in Content width.
  4. Optionally set Wide width for blocks inside that use wide alignment.

This is the cleanest way to make a section narrower without custom CSS.

The default content width comes from your theme. Developers set it in theme.json, as explained in how to use theme.json.

The developer docs on layout settings describe contentSize and wideSize.

How do you size blocks inside Row and Stack?

Blocks inside a Row or Stack get Width or Height options such as Fit, Fill or Fixed, which let you shrink one item while others fill the space.

Select a child block, then look in the sidebar for the width control under Dimensions or Layout.

Fit sizes the block to its content. Fill stretches it. Fixed lets you enter an exact size.

These controls have grown over recent WordPress releases. If you do not see them, update WordPress and check again.

The WordPress core team posts dimension changes on the Make WordPress Core blog, which is a good place to check what is new.

How do you make text blocks take less space?

Reduce font size under Typography, tighten line height, and cut padding and margin under Dimensions to make paragraphs and headings more compact.

Font size presets come from your theme. Click the custom icon to enter an exact value.

Line height also changes how tall text blocks feel. Keep it readable, usually above 1.4 for body text.

Margin controls space outside the block, while padding controls space inside it. Reduce whichever is creating the gap.

If the gap comes from Block spacing on the parent Group, change it there instead.

How do you make a Cover block shorter?

Select the Cover block and lower Minimum height under Dimensions, then reduce padding so the content no longer pushes it taller.

Many patterns set a large minimum height for hero sections. Lower it or clear it.

The cover still grows to fit its content. Shorter text or a smaller heading also helps.

On mobile, covers often look taller because text wraps. Check the mobile preview.

How do you make a Spacer or Separator smaller?

Select the Spacer and drag its bottom handle up or type a smaller Height in the sidebar; for a Separator, pick a shorter style or reduce its margin.

Spacers are often the hidden reason a page feels too long. Look for them between sections when space seems too large.

Inside a Row block, a Spacer controls width instead of height. The same handle and sidebar field apply.

Many themes now prefer block spacing and margin over Spacer blocks. Removing a Spacer and using margin often gives cleaner results.

The Separator block offers a Wide and Dots style along with the default. The default style is usually the shortest line.

If you want to remove a Spacer entirely, our guide on deleting a block in WordPress shows the quickest ways.

What if the sidebar has no size option?

Add an Additional CSS class under the Advanced panel and target it with custom CSS, or wrap the block in a Group to use its layout controls.

Add a class like narrow-box, then add CSS in Appearance > Editor > Styles > Additional CSS or the Customizer.

A simple rule such as a max-width value on that class shrinks the block on all pages that use it.

Developers can register styles with a size preset. Our guide on registering block styles shows how.

If your settings panels are missing entirely, the editor may be failing to load. See WordPress editor not working.

How do you keep resized blocks consistent?

Save sized sections as patterns or synced patterns, and set default sizes in the theme's global styles so you do not resize each block by hand.

Synced patterns update everywhere when you change one copy. Our guide to synced patterns explains them.

Global styles let you set default font sizes, spacing and widths for each block type.

Always check desktop, tablet and mobile previews after resizing. A layout that fits on desktop can crowd small screens.

Frequently asked questions

Why can't I resize my block in WordPress?

Not every block has size controls, and themes can disable some options. Check the Dimensions, Layout and Typography panels, try wrapping the block in a Group, or add a custom CSS class for full control.

How do I make an image smaller without losing quality?

Choose a smaller resolution such as Medium in the image settings, then adjust the width if needed. This loads a properly sized file instead of shrinking a large one, which also helps page speed.

How do I make a block narrower than the content width?

Wrap it in a Group block, turn on the content width option under Layout, and enter a smaller width. Everything inside the Group will then stay within that width.

Can I set different block sizes for mobile?

Core blocks have limited per-device controls, though columns stack and many values scale automatically. For exact mobile sizes, add a CSS class and use a media query, or use a block plugin with responsive settings.

Why is there extra space around my block?

The space usually comes from margin on the block, padding on its parent, or block spacing set on a Group, Row or Stack. Check each panel and reduce the value that creates the gap.

Sources

  1. Dimension Settings overview WordPress.org
  2. Image block WordPress.org
  3. Layout settings WordPress Developer Resources
  4. Make WordPress Core WordPress.org
  5. Target Size (Minimum) W3C WAI

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.