• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

Reply To: Change the heading fonts

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › General Tips › Change the heading fonts › Reply To: Change the heading fonts

October 25, 2015 at 3:06 pm #619
Davinder Singh Kanith
Moderator

Follow these steps:

1. In functions.php file

Replace this code…

//* Loading Google Fonts
  wp_enqueue_style( 'flex-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,400,700|Roboto:300,400,700', array(), '1.0.0' );

with…

//* Loading Google Fonts
  wp_enqueue_style( 'flex-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,400,700|Roboto:300,400,700|Anton', array(), '1.0.0' );

2. Then in style.css file

Replace…


/* ## Headings
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #444;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 10px;
    position: relative;
}

with this…


/* ## Headings
--------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #444;
    font-family: "Anton", sans-serif;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 10px;
    position: relative;
}

Copyright © 2021 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates