Inserting shortcode in header template not showing up

I am redesigning a current website in a staging platform and I am trying to add a shortcode for a plugin into the header area using a child theme.

The parent theme is Magazine 7. I have created a child theme and copied the header.php file over as well as the header template into the structured folder on the child theme.

I tried inserting the shortcode for the Simple Weather plugin into the header using the do_shortcode method however it is not showing up in the header.

I am not sure if I am doing anything wrong.

I have tried using the do_shortcode method and when that didn't work, I tried just putting random text in the header to see if that would show up as a test. It still didn't show up.

I am putting all of this in the header template file, not the header.php file.

Here is the original code for the header-layout-1 template:

<div class="masthead-banner <?php echo esc_attr($class); ?>" data-background="<?php echo esc_attr($background); ?>">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="site-branding">
                        <?php
                        the_custom_logo();
                        if (is_front_page() || is_home()) : ?>
                            <h1 class="site-title font-family-1">
                                <a href="<?php echo esc_url(home_url('/')); ?>" rel="home"><?php bloginfo('name'); ?></a>
                            </h1>
                        <?php else : ?>
                            <p class="site-title font-family-1">
                                <a href="<?php echo esc_url(home_url('/')); ?>" rel="home"><?php bloginfo('name'); ?></a>
                            </p>
                        <?php endif; ?>

                        <?php
                        $description = get_bloginfo('description', 'display');
                        if ($description || is_customize_preview()) : ?>
                            <p class="site-description"><?php echo esc_html($description); ?></p>
                        <?php
                        endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

And here is the code with the do_shortcode added:

 <div class="masthead-banner <?php echo esc_attr($class); ?>" data-background="<?php echo esc_attr($background); ?>">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="site-branding">
                        <?php
                        the_custom_logo();
                        if (is_front_page() || is_home()) : ?>
                            <h1 class="site-title font-family-1">
                                <a href="<?php echo esc_url(home_url('/')); ?>" rel="home"><?php bloginfo('name'); ?></a>
                            </h1>
                        <?php else : ?>
                            <p class="site-title font-family-1">
                                <a href="<?php echo esc_url(home_url('/')); ?>" rel="home"><?php bloginfo('name'); ?></a>
                            </p>
                        <?php endif; ?>

                        <?php
                        $description = get_bloginfo('description', 'display');
                        if ($description || is_customize_preview()) : ?>
                            <p class="site-description"><?php echo esc_html($description); ?></p>
                        <?php
                        endif; ?>
                        <?php echo do_shortcode('[simple-weather latitude="41.723541" longitude="-86.899284" show_current="yes" days="2" night="yes" display="block" style="large-icons" text-align="center"]'); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

If done correctly, this code should show a three-day weather forecast just under the site description.