How to highlight a word in a text element?

Hello,

I have been combing through the forums trying to determine how to highlight a word (or sentence) within a text element. I think it is just a matter of changing the text background for those sentences or words only. All I can figure out is how to do the whole element. I am using the Ethos Stack and I am up to date. Here is an example on the Ethos Demo, just can’t figure it out. I do not see an option to do it in the text element editor in Cornerstone.

Example: (It’s in the 2nd paragraph under featured image, highlighted in a pale yellow)
http://demo.theme.co/ethos-1/how-to-pick-the-perfect-sunglasses/

My Page:

Thanks for your time

Hi There,

Thanks for writing in!
Please wrap the word or sentence you want to highlight with the given HTML tag below.

<mark class="x-highlight"></mark>

Example

I have been combing through the <mark class="x-highlight">forums trying to determine how to</mark> highlight a word (or sentence) within a text element. I think it is just a matter of changing the text background for those sentences or words only. All I can figure out is how to do the whole element. I am using the Ethos Stack and I am up to date. Here is an example on the Ethos Demo, just can't figure it out. I do not see an option to do it in the text element editor in Cornerstone.

Hope this helps!

Awesome! Thanks it worked great!

Glad it worked.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.