-
-
Save 2ndkauboy/fe32034956a4116c9afc to your computer and use it in GitHub Desktop.
Ein einfaches Child-Theme, das die CSS-Dateien über den optimalen Weg einbindet.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function twentyfifteen_parent_enqueue_styles() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | |
wp_enqueue_style( 'google-font-cherry-swash', 'https://fonts.googleapis.com/css?family=Cherry+Swash:700' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'twentyfifteen_parent_enqueue_styles' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Theme Name: Adventskalender Advanced | |
Template: twentyFifteen | |
*/ | |
.site-title { | |
font-family: 'Cherry Swash', cursive; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment