How to Put a Box Around Text in WordPress (4 Easy Ways)

You wrote a tip, a warning or a key takeaway, and readers scroll right past it. Plain text blends in with everything around it.

A simple box fixes that. In this guide, you will learn how to put a box around text in WordPress using 4 easy methods, with no code.

Quick answer

  • One paragraph, no plugin: select the Paragraph block, then set a border, background color and padding in the block sidebar.
  • Several blocks in one box: wrap them in a Group block and style the Group.
  • Boxes side by side: use the free Tableberg plugin. Each table cell becomes a box, all boxes in a row match in height, and they stack on phones.

Which Method Should You Use?

All four methods work in the block editor. Pick the one that matches what you want to box.

Método

Best for

Boxes side by side

Custo

Tableberg

One box or a row of matching boxes that stack on mobile

Yes, with equal heights

Gratuito, Pro a partir de $29/ano

Bloco de grupos

A box around a heading, list, image or several paragraphs

Only with a Columns block

Free, built in

Bloco de parágrafos

A quick box around one paragraph

Não

Free, built in

Ultimate Blocks Styled Box