Home Forums Theme support Cucina – child theme Reply To: Cucina – child theme

I can’t overwrite css because all code in child style.css is:

.tagline {
    font-size: 40px !important;
}

and, I import parent steelsheet in functions.php:

function my_theme_enqueue_styles() {

    //$parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.
    $parent_style = 'cucina'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.

    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 ),
        wp_get_theme()->get('Version')
    );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );

The header with menu is wrong displays, in child-theme.

Yours.