How can I use in a custom font to display information in record fields?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

I've seen a similar post (https://quickbase-community.intuit.com/questions/1390758-custom-font-in-user-defined-page) about using a custom font file, but QB doesn't recognize the "<style>" tag as HTML.

I can use the style feature in a <div> tag, but it only works if that font is already installed on the user's computer. 

Is there a way to use a table to upload the font file, and link that as a source to use in displaying text in fields?

Thanks

Photo of Travis Bruno

Travis Bruno

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 29,904 Points 20k badge 2x thumb
You have to use the image onload technique to inject a JavaScript file which when loaded dynamically adds a <style> element to the page. It is simple enough to do but you may not be satisfied with the result as QuickBase's CSS is a small mess and it was not designed to be modified by end users.
Photo of Travis Bruno

Travis Bruno

  • 0 Points
Hehe, gotcha. Is there a link to find more about the "image onload technique" ? I am not familiar with it.