[Theme: Hemingway Rewritten] Child theme changes not reflecting
-
My website: Million Experiences
I created a child theme with the following code in the style.css of child:
/* Theme Name: Hemingway Rewritten Child Theme Author: Ameya Template: hemingway-rewritten-wpcom */
The functions.php in the child theme contains:
<?php /** * Enqueues child theme stylesheet, loading first the parent theme stylesheet. */ function hemingwayrewritten_custom_enqueue_child_theme_styles() { wp_enqueue_style( 'parent-theme-css', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'theme-style' ) ); } add_action( 'wp_enqueue_scripts', 'hemingwayrewritten_custom_enqueue_child_theme_styles', 11 ); ?>
The child theme has been activated.
However, the code that I place in the child style.css is not reflected on the site.
I have tried using @import in style.css instead of the functions.php, but to no avail.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Theme: Hemingway Rewritten] Child theme changes not reflecting’ is closed to new replies.