Replace Theme Title with Logo Image
-
I am trying to replace the theme’s title with an image. I have replaced the code:
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>with
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="http://www.cursereview.com/wp-content/uploads/2014/07/cursereviewlogosm.png" style="float: left;" /></a></h1>but all I get is a broken image. I know I have to edit something else to get it to show up but I do not know what. Thanks.
I figured out the problem. My child theme was not overriding the parent for some reason. The changes happened when I edited the parent.
The topic ‘Replace Theme Title with Logo Image’ is closed to new replies.
