Home › Forums › Winning Agent Pro Theme › How can I change the Google Fonts used? › Reply To: How can I change the Google Fonts used?
March 20, 2014 at 8:37 am #2668
Member
Hi there,
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 );
Cheers,
Carrie