Classic Text Type Font

Hello there,

How do I change the font of a Classic Text Type element?

Thank you :slight_smile:

Hi there,

You will have to add a bit of custom CSS to change the font of the text in the Classic Text type like this:

.x-text-type span {
    font-family: 'Arial';
}

To read more about the font-family property, please check here:

https://www.w3schools.com/cssref/pr_font_font-family.asp

Hope this helps.

That’s perfect! Thank you. As a work around I ended up changing the global settings (because I am using custom fonts everywhere else) and it seemed to do the trick, but this is much better!

Hi there,

Yes, that is another option you can do if you want to change the font for the entire site.

Glad it’s all sorted now.

Cheers!

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