Home › Forums › Support › Custom Font not Working This topic has 6 replies, 3 voices, and was last updated 6 years ago by Leo. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts November 25, 2017 at 2:03 am #433529 Amos Hello. i want to add custom font to load from my server… i read this article but it is not working. the name of the font (from google fonts ) “Rubik-Regular” this it my fonts folder inside the child theme : https://i.imgur.com/i9IKoKV.png my css file: https://i.imgur.com/k1jZOAi.png my functions: https://i.imgur.com/dF42rzz.png my settings: https://i.imgur.com/Z2fT65f.png what i am doing wrong ? Thank You. November 25, 2017 at 6:32 am #433696 LeoStaff Customer Support Hi there, For Google fonts, check this article: https://docs.generatepress.com/article/customizing-the-google-font-list/ November 25, 2017 at 6:43 am #433704 Amos Thank leo but this is not what i need. i want to use the font on my server. i know how to add more google font to the list – this is not what i need. “rubik” it just an example it is not working with any font – not only google font. November 25, 2017 at 9:57 am #433926 TomLead Developer Lead Developer Hmm, what you have shown looks like it should work. Can you try inputing the full URL to the font file in your CSS, just to make sure file is being reached? November 25, 2017 at 10:09 am #433944 Amos i try to change it to this: @font-face { font-family: 'Rubik-Regular'; src:url('/wp-content/themes/generatepress_child/fonts/rubik-regular.ttf') format('truetype'), } but still not working… November 25, 2017 at 1:06 pm #434066 Amos Ok i fixed this issue the problem was : i change this: format(‘truetype’), to : format(‘truetype’); and change this: fonts/rubik-regular.ttf’ to : fonts/Rubik-Regular.ttf’ November 25, 2017 at 1:36 pm #434103 LeoStaff Customer Support Glad you found the solution! Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In