Problems with Child theme
-
Hello everybody!
I have installed Pure-Simple Theme and created a Child Theme because I didn’t find the child.zip downloading the Theme. So I have created a style.css fyle and a functions.php and I activated the child-theme. Now I would like to make some changes to the header.php, I have copied all text of the original theme to my child’s header.php fyle, but my website’s pages change completely.
My style.css is:
/*Theme Name: Pure & Simple Child
Description: Child Theme del tema Pure and Simple
Author URI: https://bbpisabelleville.it/
Template: pure-simple
Text Domain: puresimple-child
Version: 3.0.3
*/
And here is my functions.php:
<?php
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
?>Where did I mistake? Is there a particular option to let the child-theme of Pure-Simple work correctly?
Thanks so much to anyone can help!
PaolaThe page I need help with: [log in to see the link]
- The topic ‘Problems with Child theme’ is closed to new replies.