Change font size in part of the sentences


I realized how to change font and colors of font in whole text.
But I want to change size and type of font words in the sentence? Not the whole sentences or text.

Thank you & Regards

Hello Dejan,

Can you please provide a link to your website and describe what exactly you want to achieve?

Kind Regards, Roman.

Hello Roman,
As you can see in text, there is some words italic style (dedicated, passionate ).
I wont to change font size and font only for that words.
When I selected only that words and try to change it, when I choose Heading 1,2…, they change all sentence.

Txn&Regards Dejan

Hello Dejan,

You can add a class to span elements that contain those words (for example .changed-words), remove inline color styling, and then add something like the following CSS code in Dashboard → Appearance → Customize → Additional CSS section.

.changed-words {
    font-size: 24px;
    color: red;

Kind Regards, Roman.

Hello Roman,

I did it :slight_smile:

Thank you very much and best regards Dejan

You are welcome Dejan! :slight_smile:

Please feel free to ask any other questions that you might have in future.

Kind Regards, Roman.