• Hi there,
    I’m trying to get a child theme working (first time), parent: Kouki.
    I already uploaded the directory, the stylesheet and the functions.php file and can see the child theme in my dashbord in wordpress. What makes me wonder: I can not see the changes I made in the stylesheet and not sure if the problem lies in the css or in enqueuing the parent theme…

    This is the code in my functions.php (like outlined here on wordpress):

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );

    }
    ?>

    Note: There is a style.css, editor-style.css and rtl.css in the parent theme. Do I have to enqueue those as well or alright like above?

    This is my stylesheet so far (trying to color my h2 to see if it works):
    /*

    Theme Name: Kouki Child
    Version: 1.7.0
    Author: KH
    Author URI: https://&#8230;
    Theme URI: https://&#8230;
    Description: Kouki child theme.
    Template: kouki
    License: GNU GENERAL PUBLIC LICENSE, Version 2
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: kouki-child
    */

    #h2 a {
    color: #b245a9;
    }

    #h2 a:hover {
    color: #b245a9;
    }

    ————————–
    Can anyone help, please? 🙂 Thank you!

The topic ‘child theme from kouki’ is closed to new replies.