Okay
  Public Ticket #1748484
Using google fonts local
Closed

Comments

  • ruurdberlin started the conversation

    Dear helpdesk,

    I want to use the google fonts local. (eg. Raleway) This is what I did:

    • downloaded the font Raleway to my computer
    • uploaded the fonts to the folder /wp-includes/fonts
    • add the code to my css: eg 

      /* raleway-100 - latin */
      @font-face {   font-family: 'Raleway';   font-style: normal;   font-weight: 100;   src: url('/wp-includes/fonts/raleway-v12-latin-100.eot'); /* IE9 Compat Modes */   src: local('Raleway Thin'), local('Raleway-Thin'),        url('/wp-includes/fonts/raleway-v12-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */        url('/wp-includes/fonts/raleway-v12-latin-100.woff2') format('woff2'), /* Super Modern Browsers */        url('/wp-includes/fonts/raleway-v12-latin-100.woff') format('woff'), /* Modern Browsers */        url('/wp-includes/fonts/raleway-v12-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */        url('/wp-includes/fonts/raleway-v12-latin-100.svg#Raleway') format('svg'); /* Legacy iOS */ } and so on

    When I use the salient typography option I select eg Raleway. So far so good but where can I adjust that WP doesn't have to search "online" for the font but that it will look in the folder: /wp-includes/fonts/ to find the font? It will automatically look online and that is not what I want...


    Thanks in advance

  •  8,998
    Tahir replied

    Hey R,

    Please have a look at this Article :Add a Custom Font.

    Best


    ThemeNectar Support Team