Forum Discussion
Fallback Font Selection in Drag-and-Drop Style Settings
I'd like to see a feature in Drag-and Drop Style Settings that allows us to bypass the fallback font options and go straight to Sans-serif/Serif default system fonts.
1 Reply
- LiorPelegExpert
That’s a good idea, and I hope Braze will add it to the editor in the future.
In the meantime, you can achieve this yourself with a bit of CSS. It’s less convenient than selecting it via drag & drop, but if the visual styling is really important, this is a solid option.You can insert an HTML block that only contains a <style> tag.
There are two classes related to text blocks:
• bz_title
• bz_textYou can use them to set the font-family manually and override the default settings.
For example:
<style>
.bz_text {
font-family: 'Assistant-Bold.ttf:669926d2f78ac800', sans-serif !important;
}
</style>In this example, Assistant-Bold.ttf is the custom font I selected. Make sure you copy the exact font name that appears in your setup.
If this interests you and you’d like more details, I’d be happy to explain further.