• Hello everyone,

    I’m working on creating a child theme from evolve in order to add some functions and CSS customization… But I got an issue. As far as I can tell, I did it the proper way:

    functions.php:

    <?php
    /**
    ** activation theme
    **/
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    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' );
    ?>

    and style.css:

    /*
    Theme Name: Evolving
    Description: Theme enfant d'Evolve, made my Bobbutterfly
    Author: Bobbutterfly
    Author URI: https://le-chemin-du-butterfly.fr
    Template: evolve
    Version: 0.1
    */

    Now, for the issues…

    My H2 are a bit different, as the space btw lines is wider, for instance, or the text color is kind of “pale” regardind the real evolve theme (like a light-grey rather than dark grey)…

    I know I can manage these things with some CSS but… I’d rather have a better solution than that, as I don’t know all the surprises I can have with that problem…

    As any got an idea please? It’s really important because I need to add a function but without a child theme it’s not that good…

    Thank in advance folks ??

Viewing 1 replies (of 1 total)
  • Thread Starter Bobbutterfly

    (@bobbutterfly)

    Got an idea

    Wouldn’t be because the style.css in the main folder is not the only style sheet in all the theme…? That would be mean from evolve team…

Viewing 1 replies (of 1 total)
  • The topic ‘[Evolve] Child theme: not everything is the same…’ is closed to new replies.