How To Add Border Around Text In WordPress

Do you want to learn how to add borders around text in WordPress? Well, you’ve come to the right place!

In this short tutorial, I’ll walk you through the simple steps to add a border around any text to your posts and pages. 

The best part about all this is that you don’t have to write a single line of code. 

Using bordered text is a great way to put emphasis on content and make them look more prominent. 

You can use this in your posts and pages to highlight important points or notes in your content.

Regardless of the use case, let’s see how you can add a border to text in WordPress. 

Why Add A Border Around Text?

There are many benefits of adding borders around the text. It helps you emphasize certain parts of your content and grab the reader’s attention to it. 

For instance, having a bordered box in your content can help you: 

  • Make important parts of the content more noticeable. 
  • Use it as a way to display caution or warning in your content. 
  • Turn your boring wall of text into something more attractive and engaging. 

There are many more reasons to use borders around the text. But keep in mind to not overdo it. Borders around text should only be used for the right purposes. 

With that being said, let’s now learn how to add a border around text in WordPress. 

How To Add Border Around Text In WordPress

Here is a step-by-step tutorial for adding borders around text: 

Step 1: Install Ultimate Blocks WordPress Plugin 

The first step is to install the Ultimate Blocks plugin. This is a Gutenberg blocks plugin for WordPress that comes with many useful content blocks. 

Go to your WordPress Dashboard > Plugins > Add New and search for ‘Ultimate Blocks’. Then install and activate the plugin.

Install Ultimate Blocks - WordPress Plugin

We’ll be using this plugin to add borders around the text. 

Step 2: Insert The Styled Box Block From Ultimate Blocks 

Now, insert the Styled Box block of Ultimate Blocks into your content. With the Styled List block, you can create beautiful content boxes.

Just click on the + sign in your editor and search for ‘Styled Box’ and select the block.

Once you insert the Styled Box, you’ll be asked to select a style: 

Click on the Bordered Box style.

Step 3: Add Your Content To The Bordered Box 

Once the Bordered Box is added to your post, you can start adding your content inside the block. 

You can then customize the bordered box by changing the border size, style, radius, background color, text color, and more. 

The block is highly customizable and lets you create beautiful bordered boxes with ease. 

So, that’s how simple and easy it is to add a border around text in WordPress. 

Using the Styled Box from the Ultimate Blocks plugin, you can easily create bordered boxes without writing any CSS. 

Plus, the Ultimate Blocks plugin comes with many other useful blocks you can use in your content. 


Adding a border around the text is now easier than ever. As demonstrated in the article above, you can add borders around text quite easily with the Ultimate Blocks plugin. 

Ultimate Blocks is a free plugin that comes with many Gutenberg blocks designed to help you create beautiful and engaging content. 

I hope now you’ll be able to add borders around text easily in WordPress. But if you have any further doubts or questions, feel free to ask them in the comments below. 

I’d be happy to help you out with your queries. 

Leave a Comment

Your email address will not be published. Required fields are marked *