Child theme
-
I want to create child theme. I create a folder, prepare “style.css” (proper (child) names). Then I create a “functions.php” file and add this inside:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } ?>
After I activate a child theme, the menus are not showing properly. What else should I do?
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.