Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 18, 20159 yr to allow further optimization i would like to upload font file to my own server instead of using from google server but how is it possible? ive already uploaded the fonts on my server but it wont display the font <link href='http://mysite/fonts.cssfamily=Noto+Sans:400,700' rel='stylesheet' type='text/css'>
October 19, 20159 yr You can try: 1. Download fonts http://nscodes.com/files/fonts/NotoSans.zip 2. Create new folder ->fonts->NotoSans 3. Unzip NotoSans.zip and upload all font files to new created folder /fonts/NotoSans/ 4. Add the following code to custom.css: @font-face { font-family: 'noto_sansregular'; src: url('/fonts/NotoSans/NotoSans-Regular-webfont.eot'); src: url('/fonts/NotoSans/NotoSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/NotoSans/NotoSans-Regular-webfont.woff') format('woff'), url('/fonts/NotoSans/NotoSans-Regular-webfont.ttf') format('truetype'), url('/fonts/NotoSans/NotoSans-Regular-webfont.svg#noto_sansregular') format('svg'); font-weight: normal; font-style: normal; } Font family code: font-family: 'noto_sansregular', sans-serif Cheers
October 19, 20159 yr Community Expert Plain and simple, you have to find a license and download for the font that you want so you can use it on your community/website. The CSS above from @Afternova then will allow you to use that font within your CSS.
Archived
This topic is now archived and is closed to further replies.