@EarthlingGirl
There is a typo in my message.
Of course the php-code starts with: <?php
@EarthlingGirl
After days of searching the internet and studying I finally managed to get my child theme working with the twentyfourteen theme.
Fill in your own child theme filename and then copy/paste in a functions.php in your child theme folder
?php
/* Twenty Fourteen functions and definitions*/
/* Calling parentstyle with several style.css*/
/*Setting ‘parent-style’ as a dependency will ensure that the child theme stylesheet loads after it.*/
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘twentyfourteen-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘your child theme filename-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array(‘twentyfourteen-style’)
);
}