
A button that is too small gets missed, and one that is too big can look clumsy, especially on phones. The right size makes your WordPress buttons easy to spot and easy to tap.
This guide shows you how to change the button size in WordPress with no code: in the core Button block, with the free Ultimate Blocks plugin, and for every button on your site at once.
Quick answer
To change the button size in WordPress, click the single button inside your Buttons block and open the block settings sidebar. Change three things:
- Width: set it in the Dimensions panel (for example 50% or 100%).
- Height: raise or lower the top and bottom Padding in the same Dimensions panel.
- Text size: pick a font size in the Typography panel.
Then click Save. With the free Buttons (UB) block from Ultimate Blocks, you get the same controls plus a one-click Fixed, Flexible or Full width option.
What controls the size of a WordPress button?
A button’s size comes from three settings working together. Knowing which one to change saves you a lot of trial and error.
| Setting | What it changes | Core Button block | Buttons (UB) block |
|---|---|---|---|
| Width | How wide the button is | Width in the Dimensions panel | Button Width: Fixed, Flexible or Full |
| Padding | The space around the text, so the button’s height and bulk | Padding in the Dimensions panel | Button Padding in Dimension Settings |
| Font size | How big the button text is (the button grows with it) | Size in the Typography panel | Size in the Typography panel |
Tip: to make a button taller without making it wider, change only the top and bottom padding.
Method 1: Change the button size with the core Button block
Best for: simple buttons using only the blocks that come with WordPress.
In WordPress, a Buttons block is a container that holds one or more single Button blocks. Size settings live on the single button, so make sure you select the right one.
Step 1: Select the single button
- Open the post or page in the block editor.
- Click directly on the button text. The sidebar should say Button, not Buttons.
- If the sidebar is hidden, click the Settings icon next to the Save button at the top right.
No button yet? Click the + (Block Inserter), search for Buttons, or type /buttons on an empty line and press Enter.
Step 2: Set the width
Find the Dimensions panel in the sidebar and use the Width control. A percentage such as 50% or 100% sizes the button relative to its container, which works well on phones. A fixed value such as 240px keeps several buttons the same width.
In WordPress 7.1, the width setting for single buttons moved into the Dimensions panel. On older versions, you will find percentage width options (25%, 50%, 75%, 100%) in a separate Width settings panel.
Step 3: Change the padding to adjust height
- In the same Dimensions panel, use Padding.
- Raise the vertical padding for a taller button, and the horizontal padding for more space beside the text.
Step 4: Change the font size
Open the Typography panel and pick a preset size (Small, Medium, Large and so on) or set a custom size. Bigger text makes the whole button bigger. If you do not see a setting, click the three dots menu at the top of the panel to show more controls.
Step 5: Save and check on mobile
Click Save (or Update), then preview the page on a phone. A good button is easy to tap with a thumb and does not spill out of its container.
Method 2: Change the button size with Ultimate Blocks
Best for: call to action, download and affiliate buttons where you also want hover colors, icons and nofollow or sponsored links.
Ultimate Blocks is a free block plugin active on 50,000+ WordPress sites, rated 4.9 out of 5 from 700+ reviews on WordPress.org. Its Buttons (UB) block gives every button its own width, padding and font size settings.
Live example: three button sizes
These are real Buttons (UB) buttons. Only the font size and button padding are different. Hover over them to see the hover color.
Step 1: Install Ultimate Blocks
- Go to Plugins > Add New Plugin.
- Search for Ultimate Blocks, then click Install Now and Activate.
Step 2: Add the Buttons (UB) block
- Click the + (Block Inserter), search for Buttons (UB) and click it.
- Click the button, type your text and add a link with the link icon in the toolbar.
Already have a core button? Select it, click Transform in the toolbar and choose Buttons (UB). The text, link and colors carry over.
Step 3: Pick the button width
Click the button, then open the Settings tab (gear icon) in the sidebar. In the Width & Size panel, set Button Width to:
- Flexible: the button fits its text. This is the default and suits most buttons.
- Fixed: the button keeps the width you type in the Width field, however long the text is. Great for rows of equal buttons.
- Full: the button fills the full width of its container. Great for mobile friendly landing pages.
Step 4: Set the font size and button padding
- Switch to the Styles tab (half circle icon).
- In Typography, change the Size to make the text and button bigger or smaller.
- In Dimension Settings, change Button Padding to control the space inside the button around the text.
Older versions of the block had S, M, L and XL size buttons. Font size and Button Padding replace them and give you finer control.
Step 5: Finish the style
While you are there, set normal and hover colors, round the corners with Button Radius, add an icon, or click the + beside the button to add a second one. The Buttons (UB) documentation lists every setting.
Want one perfect button size everywhere? Ultimate Blocks Pro adds Saved Styles, so you can save your button design once and reuse it on every post, plus Fade and Wipe hover animations. Plans start at $39/year for one site, with a 30-day money-back guarantee.
Method 3: Change the size of all buttons at once
Best for: keeping every core button on your site the same size without editing each one.
On a block theme: use Styles in the Site Editor
- Go to Appearance > Editor and open Styles.
- Click Blocks, then Button.
- Change the typography size, padding and width, then click Save.
These become the default for every core button. Any button you sized by hand keeps its own settings.
On a classic theme: use a little CSS
Go to Appearance > Customize > Additional CSS and paste a rule like this, then change the numbers to suit your design:
.wp-block-button__link {
font-size: 18px;
padding: 14px 28px;
}To resize only some buttons, add a class such as big-button in the button’s Advanced > Additional CSS class(es) field and target .big-button .wp-block-button__link instead.
Why won’t my button size change?
- You selected the Buttons container. Click the button text itself so the sidebar shows the single Button settings.
- The width looks capped. A percentage width is relative to the container. Put the button in a wider column or group, or use a fixed value.
- Your theme overrides it. Some themes set button padding in their own CSS. Check the theme’s button options, or use the Site Editor Styles described above.
- The setting is hidden. Open the three dots menu at the top of the Dimensions or Typography panel and turn the control on.
Related guides:
- How to center a button in WordPress
- How to change button color in WordPress
- How to edit buttons in WordPress
- How to add two buttons side by side
- How to change a button link in WordPress
- Best WordPress button plugins
Supercharge Your WordPress Block Editor!

Black Friday deal coming: from November 20 to December 2, 2026, use code BF2026 for 50% off Ultimate Blocks Pro, or get 40% off the full WP Block Suite bundle.
Frequently asked questions
How do I make a button bigger in WordPress?
Select the single button and raise its font size in the Typography panel and its padding in the Dimensions panel. For a wider button, set a larger width in the Dimensions panel.
How do I make a button full width in WordPress?
In the core Button block, set the width to 100% in the Dimensions panel. In the Ultimate Blocks Buttons (UB) block, set Button Width to Full in the Width and Size panel.
How do I change the height of a button?
Change the top and bottom padding of the button. More vertical padding makes a taller button without changing its width.
How do I make all buttons the same size?
On a block theme, go to Appearance, Editor, Styles, Blocks, Button and set one size for all core buttons. With Ultimate Blocks, use a Fixed Button Width so buttons in a row match, or save the design with Saved Styles in Pro.
Do I need a plugin to change the button size?
No. The core Button block has width, padding and font size settings. A plugin such as the free Ultimate Blocks adds Fixed, Flexible and Full width options, hover colors, icons and nofollow or sponsored links.
Final thoughts
To change the button size in WordPress, select the single button and adjust its width, padding and font size. For one-click Fixed, Flexible or Full widths plus hover colors and icons, use the free Ultimate Blocks Buttons (UB) block.
Your next step: resize the main button on your most important page, then make it stand out with our guide on changing button color.
Found this helpful? See more of us on Google.
Add UltimateBlocks.com as a preferred source and our WordPress guides will show up more often in your Top Stories, AI Overviews and AI Mode.
Free, one tap, remove anytime


























Leave a Reply