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éthode

Le meilleur pour

Boxes side by side

Coût

Tableberg

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

Yes, with equal heights

Gratuit, Pro à partir de $29/an

Bloc de groupe

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

Only with a Columns block

Free, built in

Bloc de paragraphes

A quick box around one paragraph

Non

Free, built in

Ultimate Blocks Styled Box