Evolve Child Theme Works… Almost
-
I’ve created a child theme to replace the parent theme on my site, but in the Live Preview certain elements don’t appear correctly even though according to the Customizer panel the settings are correct.
This is the code I have in the functions.php file:
‘<?phpadd_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );}
?>’
Here’s the live site, and here’s a link to an image of what I see in Live Preview using the child theme.
What do I need to add to the functions.php to pull in the remaining styles that have already been customized? Would it be easier to copy & paste some of the files/folders from the parent theme directory into the child theme directory to avoid them being overwritten when the parent theme is updated?
- The topic ‘Evolve Child Theme Works… Almost’ is closed to new replies.