header image
-
I’m editing a ready-made theme and I’m trying to replace a text header with an image. I made an images directory in the theme’s directory and placed the header image in there (header.jpg). For whatever reason, I can’t get it to show up!
On the header PHP file, all that’s there is the <div> calling for the header ID from the the CSS (as I deleted everything since I don’t need it). In the CSS, I’ve got the following:
#header {
background: #FFFFFF;
width: 960px;
background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/header.jpg”) no-repeat;
margin: 0px auto 0px;
padding: 10px 0px 10px 0px;
border-top: 5px solid #658DB5;
}Even if I just call for the image using url(images/header.jpg) it still doesn’t work. What’s the deal?! This is killing me!
- The topic ‘header image’ is closed to new replies.