From the course: WordPress: Customizing Themes with Genesis
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Changing Google fonts
From the course: WordPress: Customizing Themes with Genesis
Changing Google fonts
- [Instructor] Google Fonts are a free web font that you'll frequently find used in WordPress themes and Genesis child themes. How these fonts are implemented in a theme varies by theme, but there are basically two components. First, somewhere in your child theme may be functions.php or somewhere else there will be a function that enqueues or includes some specified fonts. Secondly, you'll then reference those fonts in your themed style sheet. Based on the child theme you are customizing, the first piece identifying where fonts are included in your theme will vary, but I'll show you a quick trick for locating it. So, from my code editor, and I'm guessing your code editor probably has this same capability, I'm just going to search for Google in my theme folder. And genesis-sample, okay. So I'll search for Google, and it returns a single result and that happens to be where the fonts are called in. So, that's easy. I will…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.