- March 18, 2014 at 2:32 pm #2634schoene-heideParticipant
I have bought the Winning Agent Pro Theme and I like it a lot. I plan to use it for a directory for holiday homes and hotels.
In order to give this website the same look and feel as my main website http://schoene-heide.de I would like to change the fonts to the Google Fonts Noto Sans and PT Sans Caption 700.
I tried the method suggested by Studiopress, but it resulted in the White Screen of Death.
Thanks in advance for your help.
- March 20, 2014 at 8:37 am #2668Carrie DilsMember
I’m not sure which StudioPress tutorial you’re referring to, but I’ve always found the pretty accurate. 🙂
The white screen of death is most likely a syntax error from where you copy/pasted code into your functions.php file. If you’re still learning your way your around editing WordPress files, I’d recommend taking a peek at this tutorial.
In short, you’ll need to change which fonts are enqueued in your functions.php file and then change out the font families accordingly in your style sheet.
Your updated code for functions.php should look something like this:
// Enqueue the Google Web Font styles wp_enqueue_style( 'wap-google-fonts', '//fonts.googleapis.com/css?family=Noto+Sans|PT+Sans+Caption', array(), CHILD_THEME_VERSION );
- March 25, 2014 at 4:17 am #2696schoene-heideParticipant
Thanks for your reply and for your support.
Your solution worked and I now know what I did wrong.
- The topic ‘How can I change the Google Fonts used?’ is closed to new replies.