d.each({
Arial: "arial,helvetica,sans-serif",
"Book Antiqua": "'book antiqua',palatino,serif",
"Courier New": "'courier new',courier,monospace",
Georgia: "georgia,palatino,serif",
Tahoma: "tahoma,arial,helvetica,sans-serif",
"Times New Roman": "'times new roman',times,serif",
"Trebuchet MS": "'trebuchet ms',geneva,sans-serif",
Verdana: "verdana,geneva,sans-serif"
}
That is not for use in the editor (what they are showing) as much as using display fonts for your text on the forum itself. You CAN use it that way but the main problem is that it will not (the font) show up as you are typing in the editor.... only after the post is saved.I just found this post
https://xenforo.com/community/threads/install-fonts-in-xenforo.23449/
Is this the answer?
Uhhhh.. "add font" where?pfft....LOL
Great forum help.
I too am trying to add a font.
Search, "Add Font", "Font".
30 minutes later I am still searching!
OK.. same as detailed in a post above that pointed at https://xenforo.com/community/resources/serve-google-fonts-locally.1860/update?update=6555.
It requires custom development/an add-on.
They are in js/xenforo/bb_code_edit.js.
Custom development means that it's not possible out of the box without editing the code or getting custom code developed. If you're not comfortable doing this yourself, it would need to be custom developed by a third-party to fit your specific needs.
Modifications to the underlying code of XenForo (PHP, SQL, JS, HTML and CSS) are really not something we can provide official support for.
Good luck getting support from the community with an attitude and comments like that.
We use essential cookies to make this site work, and optional cookies to enhance your experience.