diff --git a/fonts/fanwood-text/FanwoodText-Italic.ttf b/fonts/fanwood-text/FanwoodText-Italic.ttf new file mode 100644 index 0000000..ec97943 Binary files /dev/null and b/fonts/fanwood-text/FanwoodText-Italic.ttf differ diff --git a/fonts/fanwood-text/FanwoodText-Regular.ttf b/fonts/fanwood-text/FanwoodText-Regular.ttf new file mode 100644 index 0000000..37b38e5 Binary files /dev/null and b/fonts/fanwood-text/FanwoodText-Regular.ttf differ diff --git a/fonts/fanwood-text/stylesheet.css b/fonts/fanwood-text/stylesheet.css new file mode 100644 index 0000000..9e5f00f --- /dev/null +++ b/fonts/fanwood-text/stylesheet.css @@ -0,0 +1,13 @@ +@font-face { + font-family: 'Fanwood Text'; + src: url('FanwoodText-Regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Fanwood Text'; + src: url('FanwoodText-Italic.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} diff --git a/functions.php b/functions.php index 6291f1e..a60ba00 100644 --- a/functions.php +++ b/functions.php @@ -120,6 +120,7 @@ add_action( 'widgets_init', 'jeremy_wordpress_theme_widgets_init' ); * Enqueue scripts and styles. */ function jeremy_wordpress_theme_scripts() { + wp_enqueue_style( 'fanwood-text-font', get_template_directory_uri() . '/fonts/fanwood-text/stylesheet.css' ); wp_enqueue_style( 'jeremy-wordpress-theme-style', get_stylesheet_uri() ); wp_enqueue_script( 'jeremy-wordpress-theme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true ); diff --git a/style.css b/style.css index d186d9d..2071a39 100644 --- a/style.css +++ b/style.css @@ -454,6 +454,13 @@ big { font-size: 125%; } +/* +Fonts +*/ +body { + font-family: "Fanwood Text", "Georgia", "Times New Roman", "Times", serif; +} + /* Font sizes */