[Evolve] Child theme: not everything is the same…
-
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 ??
- The topic ‘[Evolve] Child theme: not everything is the same…’ is closed to new replies.