Child Theme changing appearance of theme
-
I created a child theme so I can make some edits to the theme. I followed the instructions shown in WordPress Codex. However, now the look of the theme has changed. The lettering is different and the header bar is black instead of white. Can you advise what is happening? My site is https://hungrylionsmedia.com
The code I used for the child theme style.css is:
/*
Theme Name: Zerif Lite Child
Theme URI: https://hungrylionsmedia.com/themes/zerif-lite-child/
Description: Zerif Lite Child Theme
Author: ThemeIsle
Author URI: https://themeisle.com
Template: Zerif Lite
Text Domain: zerif-lite
*/I also created a functions.php directory with the following code:
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}Please help!
- The topic ‘Child Theme changing appearance of theme’ is closed to new replies.