google fonts location

Support Area Forums Agency google fonts location

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: https://www.thesearchenginetrain.com
  • Author
    Posts
  • #38239
    Avatar photoDurenda Wood
    Participant

    Hello,

    I am trying to secure my website and I need to change the url for google fonts. Can you tell me where I would find that information?

    #38240
    Bill Robbins
    Moderator

    Hey Durenda,

    You can do that. Go to the Appearance section in your WordPress dashboard and click on Edit. From the list of files on your right, choose fonts.php. Down right at the bottom you’ll see this line:

    
    wp_enqueue_style( "options_typography_$font", "http://fonts.googleapis.com/css?family=$font", false, null, 'all' );
    

    You can change the http: there to https: or you can take it out and make the URL there start with the // . The // is how I go about that in some of our other themes.

    Hope that helps out,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘google fonts location’ is closed to new replies.