changing default font family in twenty twelve using a child theme
-
I’ve created a new folder name twentytwelve-child in the twentytwelve directory, then I made a stylesheet and saved it as style.css. Below is the code I inserted in the new stylesheet to change the default font in the body of Twenty Twelve.
From what I understand, all I have to do now is upload the file to the twentytwelve-child directory. Then when I create a new blog post, the post will automatically have the default font of Calibri in the body but will still inherit all the settings of the original stylesheet.
/*
Theme: TwentyTwelve child
Description: optional
Author: optional
Author URI: optional
Template: TwentyTwelve
Version: optional
*/@import url(*wp-content/themes/twentytwelve/twentytwelve-child/style.css*);
body {
font-family: Calibri, Helvetica, sans-serif;
}I don’t want to get into changing any functions/php code because I am not there on the learning curve..yet.
- The topic ‘changing default font family in twenty twelve using a child theme’ is closed to new replies.