Edit font in HTML

I am trying to display some test using onmessage in an embedded html frame. The font for my website is Brandon Grotesque. How can I change the font of the html frame so that the content displayed when the function is trigger is visible in Brandon Grotesque?
I’ve tried to use

and I also tried

Hi

Try this instead :

'<p  style=" font-family:brandon-grot-w01-light,sans-serif;">' + 'Wix' +'</p>'

Hi,

I tried the code you mentioned, but it prints the output in sans-serif and not in brandon-grotesque… Any clue on what else I can try?

I’m also looking for the same thing…

One text box that would preview the text inside into different fonts uploaded onto the website …

any info would be highly appreciated !

Has anyone figured this out?

Figured what out? Please explain what you are trying to do, what you have, what works, and what doesn’t.

Also, please observe the Forum Policies and Guidelines and refrain from multiple posts on the same subject.

This is an old post and is being closed.