Hi Friend! You'll need to add something like this to your Javascript sheet:
// CHANGE FONT FAMILY
var settingFontFamily = ["Montserrat", "Merriweather", "Open Dyslexic"];
var setFont = function() {
var passages = document.getElementById("passages");
switch (settings.fontFamily) {
case "Montserrat":
passages.style.fontFamily = "'Montserrat', sans-serif";
break;
}
switch (settings.fontFamily) {
case "Merriweather":
passages.style.fontFamily = "'Merriweather', serif";
break;
}
switch (settings.fontFamily) {
case "Open Dyslexic":
passages.style.fontFamily = "'Dyslexic', serif";
break;
}
};
You can probably find a template somewhere with the entire code, I got this one from Vahnya.
Happy Coding!