• I would love it if Twenty Sixteen had the option to place (an appropriately sized version of) the Site Icon (introduced in WordPress 4.3) in front of the Site Title and Tagline as a logo element in the header.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same–I want my logo or a custom header above the main menu. Thanks!

    Until this new option, you can edit the header.php file in a child theme and modify as below
    Place the image of your logo in an /image folder in the root of your child theme

    <div class=”site-branding”>
    ` <?php if ( is_front_page() && is_home() ) : ?>
    <h1 class=”site-title”><a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” rel=”home”><img src=”<?php echo get_stylesheet_directory_uri(); ?>/images/yourlogo.jpg” alt=”Your site name” ></a></h1>

    <?php else : ?>
    <p class=”site-title”><a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” rel=”home”><img src=”<?php echo get_stylesheet_directory_uri(); ?>/images/yourlogo.jpg” alt=”your site name” ></a></p>
    <?php endif;

    </div><—site branding —>`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Would love to use new Site Icon introduced in 4.3 in Header’ is closed to new replies.