• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Reply To: How to remove default font and add custom fonts

Home › Community Forums › Aspire Theme Support › How to remove default font and add custom fonts › Reply To: How to remove default font and add custom fonts

May 18, 2019 at 4:41 pm #23199
Wes
Moderator

The code for the Google fonts will be located in your functions.php file –

wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700', array(), CHILD_THEME_VERSION );

They are also in the style.css, but once you remove the code in the functions it should deactivate it from appearing on the site.

body {
	background-color: #fff;
	color: #333;
	font-family: 'Open Sans', sans-serif;
	font-size: 20px;
	font-size: 2.0rem;
	font-weight: 300;
	line-height: 1.625;
	margin: 0;
	overflow-x: hidden;
}
/* ## Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	line-height: 1.2;
	margin: 0 0 20px;
}

I’ve only used Google fonts and Typekit fonts. To upload your own fonts you may need to install a plugin or a follow a tutorial to set up your own. Here is an example tutorial – https://wpsites.net/web-design/custom-fonts-wordpress-font-face-generator/

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework