OK, now that you have your Google Fonts being loaded locally adding them into the Redactor editor turns out to be an easy proposition. All you have to do is edit the js/xenforo/bb_code_edit.js file (make a copy of your original FIRST!) and do a search on Arial. Once you find that segment in the bb_code_edit.js file, adding your font is a simple matter of placing it where you want it in the other fonts. They are listed...
Yep, and the resource was updated with instructions on how to do that. I just implemented it myself.I've only been able to get the font to work in the editor when you actually have the font installed on your PC
OK, if you are serving the fonts locally then there is an update to the resource that should be easy enough to understand on how to add them to it.Ah thanks - any idea how I do that (obviously I can find the file, but what code?)
OK, now that you have your Google Fonts being loaded locally adding them into the Redactor editor turns out to be an easy proposition. All you have to do is edit the js/xenforo/bb_code_edit.js file (make a copy of your original FIRST!) and do a search on Arial. Once you find that segment in the bb_code_edit.js file, adding your font is a simple matter of placing it where you want it in the other fonts....
Me need to go back to school... me need to attend reading comprehension 101 again.I was actually referring to the font appearing as you are typing in the editor. That only seems to work if you have the font installed locally on your machine.
*NOTE*
When entering the message the font WILL NOT be typed in the selected format, but when saved it WILL display in it.
Not a programmer so can't really tell you. I know there has to be a way to get it to but I haven't dug into it that deeply since I got away from offering all kinds of fancy fonts to my users in the editor (makes some of the messages harder to read especially when combined with colors that some of them have a tendency to use.Hi Tracy. May I know why when the font is installed. It wouldn't appear as the format within the editor?
Im completely new to this stuff, so Im not so sure what I'm using and so on. i littereatly followed the install guide and thats all I've done. no idea if I'm using nginx, or know what CentOS/cent Min is.Are you using nginx as an HTTP server?
Are you using CentOS/CentMin or what OS?
You can always enter the commands
updatedb
locate nginx.conf
from the command line of your SSH shell and it will give you the location of the nginx.conf.
The guide was written for use with nginx - specifics for Apache were not given since I haven't touched an Apache based system for my use in many years.Im completely new to this stuff, so Im not so sure what I'm using and so on. i littereatly followed the install guide and thats all I've done. no idea if I'm using nginx, or know what CentOS/cent Min is.
That got my fonts working on desktop, but somehow it isn't working on mobile devices?The guide was written for use with nginx - specifics for Apache were not given since I haven't touched an Apache based system for my use in many years.
From what some other people have said, you don't really have to make any modifications with Apache.
Just try creating the /font directory in your web root, place the font files in there and then make the CSS edits that are appropriate in EXTRA.css and see if it works.
Which mobile device(s)? They've worked for all the iPhones I've got and the 2 Androids (HD Max and a RAZR MAXX).That got my fonts working on desktop, but somehow it isn't working on mobile devices?
We use essential cookies to make this site work, and optional cookies to enhance your experience.