Change font style in interactive elements

Jan 10, 2024

Hi there,

I hope someone can assist me. :)

In my course theme, I use DM Serif Display for headlines and Roboto for regular text. However, in some interactive elements like flashcards, the default font (both front and back) is set to the headline font, DM Serif Display. I'd like to change this to my regular text font, Roboto. Is there a workaround or a method to override the default font settings for specific elements?

Thank you!

Best, Vivi

1 Reply
Steven Benassi

Hi Vivi!

Happy to share some insight on this!

What you are experiencing is the expected behavior for fonts used in interactive elements like Flashcards. Flashcards will use the "Heading" font that's been applied since they don't have a "body" section.

However, we are tracking a feature request to give authors the ability to decide whether they want to apply the header or the body text to either side of a flash card.

I've linked this discussion to the feature report so you can be notified as soon as we have updates to share!