If you’ve been a WordPress user for at least a short amount of time, then you’ve probably written a post or two for your site. You can adjust a lot of options for a post when you are creating it, such as adding it to a category, but there are a surprising number of ways that you can format the content in your post without needing to worry about CSS.
One of the ways that you can format a paragraph of text in your post is by adding background color to it. Whether the paragraph that you want to format is a call to action, a quote, or simply a block of text that you want to draw attention to, the ability to use a background color in WordPress is very helpful.
How to Add Background Color in WordPress
The steps in this guide were performed in WordPress 5.1.1, using the Gutenberg editor.
Step 1: Sign into the admin section of your site at (yourdomain.com)/wp-admin.
Step 2: Hover over Posts in the left column and navigate to an existing post, or create a new one.
Step 3: Enter your post title, then type the text into a Paragraph block for which you would like to change the background color.
Step 4: Click the Color Settings tab at the right side of the window.
Step 5: Choose the background color that you wish to use. Note that there is a multi-colored circle that you can choose if you want to use a color not shown, which will let you select a custom color.
You can also use the Text Color option if your default text color doesn’t look good or is hard to read with the new background color.
Another useful option that can be added in a similar way is an HTML anchor. Find out how to use anchors in WordPress if you would like to be able to link to specific sections of a post from within the post itself, or from other pages on your site.
Matt has been working with WordPress and creating content using this powerful content management system for years. While he has written about many other tech topics, WordPress is one of his favorites.
You can read his full bio here.
You must be logged in to post a comment.