Hi Hafsa,
It's simple, just separate the Text widget into several:
- Select the portion of text you want to separate; right-click on it, select Split from the context menu
- and you end up with something like this:
- Then it's just a matter of applying the CSS class to the part that you're interested in, like this: