My top header looks different on single pages but is fine on the home page

Question

For some reason, my top header looks different on single pages but is fine on the home page.
my site

     <?PHP
   if ( is_front_page() && is_home() ):
                    ?>
    <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">CC AND BUILDS</a> </h1>
    <?php
    else :
                    ?>
    <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">CC AND BUILDS</a></p>
    <?php
    endif;
    ?>

any ideas?

0
Loot 8 months 2020-12-12T15:10:22-05:00 0 Answers 36 views 0

Leave an answer

Browse
Browse