Help me, please. Custom CSS styles doesn't work

(Custom CSS styles | Retool Docs)

._retool-text1 { /* Replace with the actual class name you find /
font-size: 45px; /
or your desired font size */
}

Why this doesn't work? Help me, please.

Firstly, the /* and */ are bounding the actual settings (font-size: 45px;) and thus rendering them as comments. Remove those two tags.

Second, the font-size setting might not override the display of Retool components. A lot of the options are for fixed size formatting by default (which might have an effect on the CSS if it were managed/disabled on the component settings); some quick tests show that you can alter the other settings in this case, border/font styles:

Any font-size options I tried were not reflected in the components, but I only did some cursory testing of the fonts here.

1 Like