The client wants to replace the default site title with image inline with the menu the way it appears: they do not want their logo above the menu in the header.
The original code in header.php is:
<header id="masthead" class="site-header" role="banner"> <div class="header-main"> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
I have replaced it with this code which is not working:
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="http://client.com//wp-content/uploads/2013/12/logo.png" style="float: left;" alt="Logo" /></a></h1>
I also tried adding the background url code to the logo in the CSS style sheet without success.
What’s the solution?
- The topic ‘Replace Site Title with Image Logo’ is closed to new replies.