Support › Forums › General Tips › Change the heading fonts › Reply To: Change the heading fonts
October 25, 2015 at 3:06 pm
#619
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;
}