- This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support › Forums › General Tips › Change the heading fonts
Tagged: change font
heya! would it be possible to change the heading font to be ‘Anton’ I use that font within all of my creative – and would like it to match if it’s not too difficult. Thanks.
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;
}