How To Add Fonts To Thema Editor

hi

where i can add fonts to the Thema editor

i like to have a special font but dont know where to add them



version 4.2.1



Thx M8

Hi,



You would like to have it for some texts and headers in website, of for whole website font ?



[color=#282828][font=arial, verdana, tahoma, sans-serif]Keep on smiling,[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]—[/font][/color]

[color=#282828][font=arial, verdana, tahoma, sans-serif]Valentin[/font][/color]

[color=#808080][font=arial, verdana, tahoma, sans-serif][size=2]part of hungryweb.net[/size][/font][/color][color=#282828][font=arial, verdana, tahoma, sans-serif] [/font][/color]

Hi unlocksupport,



Try this:



Find the following code in the file “design/themes/theme_name/styles/schema.json” file (line 67) and replace it with this given one



"fonts": {
"families": {
"YourFontName,sans-serif": "YourFontName",
"Arial,Helvetica,sans-serif": "Arial",
"Arial Black,Gadget,sans-serif": "Arial Black",
"Comic Sans MS,cursive": "Comic Sans MS",
"Courier New,Courier,monospace": "Courier New",
"Georgia,serif": "Georgia",
"Impact,Charcoal,sans-serif": "Impact",
"Lucida Console,Monaco,monospace": "Lucida Console",
"Lucida Sans Unicode,Lucida Grande,sans-serif": "Lucida Sans Unicode",
"Palatino Linotype,Book Antiqua,Palatino,serif": "Palatino Linotype",
"Tahoma,Geneva,sans-serif": "Tahoma",
"Times New Roman,Times,serif": "Times New Roman",
"Trebuchet MS,Helvetica,sans-serif": "Trebuchet MS",
"Verdana,Geneva,sans-serif": "Verdana",
"Gill Sans,Geneva,sans-serif": "Gill Sans"
},




Also you should add this code in css or less file:


@font-face {
font-family: YourFontName;
src: url(pathtoyourfonr/nameoffileyourfont.ttf); }




Best regards,

Alt-team