I’ve set up my GP child theme with this style.css:
/*
Theme Name: Generate Press Child
Template: generatepress
Text Domain: generate-press-child
*/
And this functions.php
<?php
function theme_enqueue_styles() {
$parent_style = 'parent-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style )
);
}
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
?>
I’m trying to override inc/navigation.php file in the parent but when I recreate the file in my child theme it will not override.
Any help greatly appreciated.
I’m just trying to put some text to the left of my links in the main navigation menu.
Thanks
WN