Changing the CSS Options for Rich Text Component

Hey y’all!

I’m looking for some guidance on the formatting for the Custom CSS option for components, specifically Rich Text.

I tried applying what I thought would be appropriate formatting, but it didn’t take. I think I need to declare the ID specific component, but I’m not sure how to isolate it.

What am I missing here? Any help is appreciated.

The class is where you assign a class name to the component. The actual CSS goes in the CSS field via Settings-> Appearance

1 Like

Okay, that moved me forward. Thank you, @Jeff_Hager!

I got the component to respond to the CSS change, but it looks like the font cannot be changed.

Is anyone aware of what other fonts we might be able to use in our GlideApps that can be applied by CSS, or how to overwrite the global configuration?

2 Likes

Richtext or iframe components may not automatically inherit global styles. Explicitly setting the font-family in the styles ensures consistency, especially if the components operate in isolated contexts where global styles might not apply.

1 Like