@bandora – Glad you’re liking Scratchpad!
I’ll answer your questions in batches, starting first with the font. I’m basing my replies off your site at hippiemom.bandorafox.com, assuming that’s the one you need help with.
– How do I change the font to a different Google Font? I tried using the CSS in the Typography area as a guide in “Additional CSS” but it didn’t work.
There are two steps to using a Google Font. First, you need to “enqueue” the font on your site so it’s available to use in your CSS.
I checked your code and I see that you’ve enqueued a font called Indie Flower.
Next, you need to target the elements whose font you want to change.
Since you’re already using a child theme, I’d suggest you put your font CSS there, instead of in the Customizer. It’ll be easier to keep track of custom CSS in only one place.
Let’s say you want to change the font of your post titles and widget titles to Indie Flower. You’d target those elements, separated by commas, with this declaration:
.entry-title, .widget .widget-title {
font-family: "Indie Flower", Kalam, Chalkboard, script;
}
The fonts after Indie Flower are backup fonts, in case the Indie Flower font can’t be loaded for whatever reason.
Then you can also modify their size independently, like this:
.entry-title {
font-size: 40px;
}
.widget .widget-title {
font-size: 30px;
}
You can use a browser inspector if you want to locate other elements and add them to your first CSS declaration.
-
This reply was modified 7 years, 4 months ago by Kathryn Presner. Reason: fixed code formatting