WordPress.org

Forums

Ryu
[resolved] Changing headline font (6 posts)

  1. mrmonster
    Member
    Posted 1 year ago #

    Is it possible to change the font of headlines in this theme to some other Google font?

  2. Sure, you can change the fonts in any theme. :-)

    A simple way would be to use a Google Fonts plugin:

    http://wordpress.org/plugins/search.php?q=google+fonts

  3. mrmonster
    Member
    Posted 1 year ago #

    Hey, thanks for the reply. Yeah, I know can change fonts in themes :) But I usually do it through the CSS file and change say Arial to Garamond or something. I just don't have any experience with Google Fonts. I did do some research around those plug-ins, but I'm worried they might be a bit buggy (based on some of the forum posts.)

    I take it, then, that there's no built-in way to do change Google Fonts in this theme. I'd either have to add the functionality somehow or use a plug-in?

  4. In any theme, you have two choices:

    - manually edit the header file to call in your Google font, or,
    - use a plugin to add the Google font to your header file for you

    It's similar to Google Analytics, if you have experience with that: an extra line needs to go into header.php to call in the script. If you don't expect to change themes often (or ever) nothing's stopping you from adding the line yourself to the theme. If you want the flexibility of being able to switch themes whenever you like and not worry about losing your Google font, a plugin is the better way to go.

    To add the Google font manually, just open up header.php and add the line of JavaScript Google provides you just after the opening <head> tag. The exact line of script varies depending on the font and which characters you opt to include.

    Here's a guide Google provides:
    https://developers.google.com/fonts/docs/getting_started

    Just let me know if you need further help.

  5. mrmonster
    Member
    Posted 1 year ago #

    This is great information -- thank you very much :)

  6. You're very welcome. :-)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.