Thanks for visiting our site. As a way of saying "thanks" here's a FREE course on how to make $688 a day online using FREE methods: 

(CLICK HERE TO ACCESS)


Today we are talking about how to highlight text in wordpress (both in the Gutenberg editor and in the classic editor) to get the following result:

Here is an example of selected text.

Like a new blogger, if only to prompt getting your blog off the ground, all the small technical components of learning in WordPress can become an unwanted problem – for example, figuring out things like highlighting text in WordPress, (or change the font color and font size) for various different text elements in your WordPress blog.

Well, the good news is that highlighting text in WordPress has been less intuitive to learn on your own, now it’s much easier for you to do in 2020 (both in Gutenberg and in the Classic editor).

And to make sure it covers all of our bases, I show you how to highlight text in WordPress, using the Gutenberg editor and the Classic editor – in this quick tutorial.

Now let’s take a walk on the selection of text in WordPress – without unloading performance, which will negatively affect your blog SEO and page load speed.

How to highlight text in WordPress (Gutenberg and the classic editor)

  1. How to highlight text in the Gutenberg WordPress editor
  2. How to highlight text in a classic WordPress editor
  3. When to highlight text on your WordPress blog (and why)

Okay, now we’ll dive in and talk about text highlighting in WordPress!


1. How to highlight text in the Gutenberg WordPress editor

The (best) process of highlighting text in Gutenberg and Classic is actually the same from a technical point of view – it just looks a little different, thanks to the visual changes in Gutenberg vs. Classic.

In both cases, adding an HTML style attribute to the background color to the text you want to highlight.

To date, the cleanest, easiest and most effective way to highlight text is in WordPress (without the need to install plugins and use other tools that enter unnecessary code into your blog). So we went through that process.

Here’s a quick GIF (video demo cycle) that shows you how to highlight text in the Gutenberg WordPress editor:

How to select text in Gutenberg WordPress Editor (GIF entry) Tutorial and screenshots

I know this GIF moves a little faster (and is easier to read on mobile devices). So, here’s a step-by-step tutorial on highlighting text in WordPress using Gutenberg’s editor (in 2 easy steps):

1. In the section where your text is placed, select the “Edit as HTML” option

Edit in Gutenberg Editor as HTML (screenshot)

After pressing the button “Edit as HTML“Option” turns your paragraph of text into something similar (with all the HTML attributes of your text now visible):

Screenshot of HTML Mode in Gutenberg

Here you now add a background color style attribute (to the HTML version of your paragraph) that will emphasize your text.

2. Add a background color style attribute (in HTML mode) to highlight your text

Background color style attribute (screenshot) in HTML mode to highlight text in WordPress

This is a step that actually highlights your text by adding this background color style attribute to the beginning of your text:

example of text you want to highlight

Know that you can certainly swap them Color color here for anyone 6-digit hexadecimal code you want to use as the main color – and you eat everything in a set!

It is bad to forget to wrap the part of the text you want to highlight at the end tag (as shown in the screenshot above) – the rest of the text in your paragraph here will be automatically highlighted.

Once you’ve finished highlighting your text, just switch to “Change Visually” in Gutenberg’s editor:

Visually edit (screenshot) in Gutenberg

Your text will now be highlighted and looks like this:

Selected screenshot of the text (ready tutorial) in the WordPress editor Gutenberg

Okay, now figured out how to highlight text in the WordPress editor Gutenberg – so saved by doing the same with the Classic editor.

2. How to highlight text in a classic WordPress editor

If he had come writing a blog post in the classic WordPress editor and want to emphasize a certain section of the text by highlighting it – just as easy to do as in Gutenberg.

Here’s a quick GIF (video demo cycle) that shows you how to highlight text in WordPress using the Classic editor:

How to highlight text in WordPress (Classic Editor), GIF tutorial and step-by-step screen usage

Because GIF moves pretty fast and it’s not as easy to spot on a mobile as it is on your desktop, here’s a step-by-step breakdown of what happens when you want to highlight text in WordPress using a classic editor (in 2 easy steps):

1. Use the cursor to select the text you want to highlight

Example of selected text in the classic WordPress editor (screenshot)

After selecting the text you want to highlight, it’s time to change the edit mode to “Text mode“In the upper right corner above your edit panel:

How to switch to text mode in the classic editor (screenshot)

Now that you’ve viewed the HTML version of your blog post, it’s an addition to an attribute that highlights your text.

2. Add an HTML style attribute for the background color (in text mode) to highlight your text

Screenshot with a highlighted text attribute (background color) in WordPress Classic

Here, your text is actually highlighted by adding the following background style color attribute to the text:

example of soon-to-be highlighted text

As in Gutenberg’s tutorial, you can also change the color code here to set any text color for your text.

Just remember to close the part of the text you want to emphasize by closing tag, otherwise highlighting the rest of your content in the post (from which you started changing the background color).

Now, if you switch to “visual mode” in the classic editor, here’s what the selected text will look like:

an example of selected text

And voila! You started highlighting your text in a classic editor! 👏

Final thoughts: When When should you highlight text in WordPress (and why)?

Now you have spent a few minutes showing you as to highlight text in WordPress … we’re used to it so far why first of all you want to highlight the text and if the application of the selected text can actually positively affect the content of your blog.

Here are some reasons why I highlight text in the content of my blog:

  • To draw the reader’s attention to a very important lesson or lesson
  • To make a specific word or sentence, stand out visually on the page
  • To emphasize that the text can be interactive (e.g. call to action)

Okay, with all my might to date!

You’ve just learned how to highlight text in WordPress (both in the Gutenberg editor and in the classic editor) – and how to use the highlighted text to your advantage.

How is what you see? Subscribe to get more technical tutorials and authentic blogging tips from me.


Want to get more diary tutorials right in your inbox?

Subscribe today and join 122,843 other smart bloggers by getting my best blogging tips.


Thanks for visiting our site. As a way of saying "thanks" here's a FREE course on how to make $688 a day online using FREE methods: 

(CLICK HERE TO ACCESS)

 

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here