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 テーブルバーグ 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.

方法

ベストなもの

Boxes side by side

コスト

テーブルバーグ

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

Yes, with equal heights

無料版、プロ版は $29/年

Group block

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

Only with a Columns block

Free, built in

段落ブロック

A quick box around one paragraph

いいえ

Free, built in