I’m trying to reverse the styling of header logo title which based on my testing is located inside


Since the file is under the Parent theme, I needed to replicate this file under the child theme directory


However, I can’t seem to replicate it on my child theme.

For example, in the Parent theme directory, if I reverse the following code block:

<h2 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h2>

the changes are reflected on the homepage’s header part, but if the same changes is applied on the child theme’s version of the file, no changes are reflected.

I see that on the Parent theme, the


is included in the


as per the following code snippet:

/** Standard Includes */
$includes = array(



foreach ( $includes as $file ) {
    require( get_template_directory() . '/inc/' . $file );

Copying this code inside the


on the child theme directory doesn’t make it work.

What should I do? What am I missing? TIA

Read more here: Copy and replicate changes of file on from parent theme to child theme in WordPress


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: