Logo Image Won't Show Up
-
Hi,
I know there are a million posts on this topic, but after reading through a ton of them, I can’t seem to figure out my problem. I created a child theme of twenty eleven and I’m trying to add a square logo to the left of the Site Title and Site Description. The positioning isn’t quite right yet, but I know that I need to play with the css to fix that.
Right now, my biggest concern is that the logo image is not showing up and I’m just getting a blue question mark. I put the logo image (called site-logo.png) in a folder called “images” in my child theme folder. I edited the header.php of my child theme after doing a lot of research so that it reads:
<h1 id="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img id="site-logo" src="<?php echo bloginfo('url'); ?>/images/site-logo.png" alt="" /></a><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
Now the question mark is there, but the image isn’t showing up. I’m not sure if I have the logo saved in the wrong place, or I messed up the php somehow or what. I’m very new to this so I’m sorry if this is a very obvious thing to solve.
My website is https://www.blog.maddielabstudio.com.
Thanks for any help you might be able to give me.
- The topic ‘Logo Image Won't Show Up’ is closed to new replies.