• Skip to main content
  • Skip to header right navigation
  • Skip to after header navigation
  • Skip to site footer

WP Engine hosting includes Genesis and 35 of the StudioPress themes!

Philip Gledhill

WordPress | Genesis Framework | StudioPress

  • Search
  • Home
  • Genesis Newbie
  • Setup Wizard
  • Genesis Geek
  • Resources
  • Blog
  • Content
  • Beaver Builder
  • CSS
  • WooCommerce
  • WP Tutorial
  • Contact
  • Specific Themes
  • Find it
You are here: Home / Google Fonts in Parallax Pro / Pasting Google Font Code into functions.php in Parallax Pro theme

Pasting Google Font Code into functions.php in Parallax Pro theme

Adding Google Font code to the Parallax Pro theme

This is important!
Only do this if you can log in using ftp or your cPanel to repair any damage you might do.

One typo in a php document can disable your entire website. So be careful!

Go to Appearance > Editor > Theme Functions (functions.php)

Appearance Editor

You should already be editing your active theme. Parallax Pro in our case, but it makes sense to check. Then click the Theme Functions (functions.php) option.

Edit Theme Functions

Or better still log in using ftp and open your functions.php file.

Find…
wp_enqueue_style(

wp Enqueue code

We need to edit a small part of this long line of code.
Replace this code with the Google Fonts code

Highlight the code starting with the word: family= and continue until you reach the first single quote mark. We highlight up to but do NOT include the single quote mark.

It is very important that you replace exactly the right code. If you get this wrong your site could be disabled.

You can NOT use WordPress to fix this!

Do NOT delete the ? Or the single quote mark ‘

This is the code I got from Google fonts…
family=Lato|Josefin+Slab

So I very carefully replace…
family=Montserrat|Sorts+Mill+Goudy
with
family=Lato|Josefin+Slab

I did not change any other code in functions.php

I clicked the blue update button to save my changes.

Now I can move on to edit the Parallax Pro style.css file.

If you do break your website.

  • You’ll have to log in using ftp or cPanel.
  • Open the wp-content folder
  • Open the themes folder
  • Open the Parallax Pro folder
  • And then replace or repair functions.php

View the next page in this tutorial

Category: Google Fonts in Parallax Pro

About Philip Gledhill

Philip helps small and medium service businesses build and maintain clean, minimalist, professional looking websites. He loves clear, concise, customer focused content, and websites that are easy to navigate. His motto is focus on your customer and keep it simple.

Previous Post: « Getting Google Fonts code for a Genesis child theme
Next Post: Changing the Font Family CSS in Parallax Pro »

Sidebar

3 Part Tutorial: Changing Google Fonts

  • Getting Google Fonts code for a Genesis child theme
  • Pasting Google Font Code into functions.php in Parallax Pro theme
  • Changing the Font Family CSS in Parallax Pro

This is the Theme Used in This Tutorial

Parallax Pro Mobile

StudioPress Genesis Tutorials

The Genesis Newbie

StudioPress Setup Wizard

StudioPress Theme Setup Wizard

genesis-geek-button

DIY Genesis Child Themes

Looking for a StudioPress theme or hosting?

Check out the two links below…

Get Genesis Framework & StudioPress Themes free.

When you sign up for a WP Engine plan, you receive the Genesis Framework and 36 StudioPress Themes free. That’s over $2,000 in value.

Free themes with hosting
Get Premium WordPress Themes

Buy a StudioPress theme outright and use it on all of your sites. There are three ways to get all of the StudioPress themes AND save.

Choose Your Theme

Web Hosting

If you’re in the market for premium web hosting from a team you trust why not checkout WP Engine. It’s designed to be Fast, Secure & Worry Free!

Site Map

Site Map: if you can’t see what you’re looking for read through my sitemap, it may well be there :-)

  • Search
  • Home
  • Genesis Newbie
  • Setup Wizard
  • Genesis Geek
  • Resources
  • Blog

This website is independently owned by an affiliate marketer of StudioPress. It is not sponsored by StudioPress, WP Engine, Copyblogger Media LLC, WordPress, or Automattic Inc. WordPress, Genesis, StudioPress and WP Engine, are registered trademarks of their respective owners.

Copyright © 2021 Philip Gledhill · Privacy policy and disclosure

© Copyright Philip Gledhill

Return to top