Child Theme
-
How it’s possible to load the theme with the new child-theme import method:
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'hitchcock', get_template_directory_uri() . '/style.css' );
with this code, only my child style.css is load and the hitchcock style.css don’t load.
with @import works fine, but is not so nice.
@import url("../hitchcock/style.css");
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Child Theme’ is closed to new replies.