# Adding Google Fonts and changing fonts in WordPress

> Add Google Fonts to WordPress and change your site's fonts using the Easy Google Fonts plugin or by editing your theme.

Source: https://helpcenter.ruachost.com/wordpress/guides/adding-google-fonts-and-change-the-fonts-in-wordpress/

Fonts play a key role in your site’s design and readability. On **ruachost.com**, you can easily add and customize Google Fonts in WordPress using plugins or manual methods.

## Why Use Google Fonts?

- Access to 600+ free, open‑source fonts.
- Supports 135+ languages.
- Improves site design and branding.
- Easy to integrate with WordPress themes.

## Method 1: Using the Easy Google Fonts Plugin (Recommended)

1. **Log in to WordPress** with an administrator account.
2. In the dashboard, go to **Plugins → Add New**.
3. Search for **Easy Google Fonts**.
4. Click **Install Now**, then **Activate**.
5. Go to **Appearance → Customize → Typography**.
6. Select the font family, style, and size for headings and paragraphs.
7. Save changes → Fonts are applied instantly across your site.

✅ This method requires no coding and works with any WordPress theme.

## Method 2: Adding Google Fonts Manually (Advanced)

1. Visit Google Fonts.
2. Choose a font → Click **Select this style**.
3. Copy the `<link>` code provided. Example:

   ```
   <link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
   ```
4. In WordPress, go to **Appearance → Theme Editor → header.php**.
5. Paste the `<link>` code before the closing `</head>` tag.
6. In **style.css**, apply the font using CSS:

   ```
   body {
       font-family: 'Roboto', sans-serif;
   }
   ```
7. Save changes → Your site now uses the new font.

## Important Notes

- Always back up your theme before editing files.
- Use a **child theme** to preserve changes during updates.
- Plugins are easier for beginners, while manual methods give more control.
- Test fonts on multiple devices for readability.
