![how to add text box in word press how to add text box in word press](https://i.ytimg.com/vi/uUPfHXPvSRI/maxresdefault.jpg)
Next, click on the color settings on the sidebar and choose the background color and the text color.
HOW TO ADD TEXT BOX IN WORD PRESS CODE
With the release of WordPress 5 and its Gutenberg editor, creating something like content box could be done without a single line of code - ain’t that nice. If you’ve updated your WordPress to the latest version and been using the new editor, you’re in luck. What if you could insert a content box without a single line of code? Gutenberg - to the rescue Inserting HTML code every single time is troublesome. The one that we saw earlier.įeel free to play around with the color of the text, border, and background of the content box. Now, you should see a better content box. Now, need this CSS code to the end of your child theme style.css to make it look better. You have created a content box with HTML but it’s not styled yet - with CSS.
![how to add text box in word press how to add text box in word press](https://techgirlhelpdesk.com/wp-content/uploads/2018/04/WP-Text-Editor-toolbar-1024x288.png)
If you don’t want to display a heading, simply delete it. You could change h4 tag to h5 or h6 based on your content structure. This HTML code allows you to display a heading in h4 tag and paragraph. It won’t work if you’re using “Visual Editor”. We’re going to insert HTML code on the editor. If you don’t have a blog yet, follow these tips to start your own blog.īefore we begin, this is what we’re going to create.Ī blue color content box with a heading and paragraph.įirst, open a post or page and switch to the “Text Editor”. You could create a content box with a mix of HTML and CSS code. I like to use a content box on my post to highlight specific information. Digital Nomad Wannabeīrian Dean from Backlinko used a content box to drive higher engagement rate on his CTA. It grabs readers attention and informs them what to expect. Sharon from Digital Nomad Wannabe used a content box to display a post outline or table of content.
![how to add text box in word press how to add text box in word press](https://www.greengeeks.com/tutorials/wp-content/uploads/2017/07/Events-1.png)
Chances are you might have seen this technique used by bloggers everywhere. A content box is basically a box - usually a colored box - used to display highlighted content to make it stand out and attention-grabbing. So, you might be wondering what is a content box? Final Thoughts Content Box - in a nutshell