I have been fucking with PHP/CSS for awhile now I can't seem to figure anything out. I am trying to overlay a logo within header.php.
My header.php file looks like this ( I deleted the Doctype and all that shit so it is easier for you to read):
I am trying to place the logo next to (or in place of) the "Just another Wordpress weblog" tagline. I am targeting the "description div" and trying to place a image there. The image is really small (like 100px x 100px). I have tried to use backround: url('images/logo.gif'); in the CSS and <img src="images/logo.gif" alt="logo" /> in header.php. I can't figure out what I am doing wrong. If someone would help a self-taught fool like myself and tell me what I am doing wrong, I would be forever grateful.
My header.php file looks like this ( I deleted the Doctype and all that shit so it is easier for you to read):
....and the CSS:</head>
<body>
<div id="header">
<div class="description">
<p><?php bloginfo('description'); ?></p>
</div>
</div>
<div id="top-menu">
<ul>
<?php wp_list_pages('depth=1&title_li='); ?>
</ul>
</div>
<div id="container">
<div class="page">
#header{
clear: both;
float: left;
width: 100%;
padding: 30px 0 20px 0;
text-align: left;
background: #1f1f1f;
}
#header h1{
margin: 0 auto;
width: 758px;
font-size: 48px;
color: #fff;
}
#header h1 a{
text-decoration: none;
color: #fff;
}
#header h1 a:hover{
text-decoration: underline;
}
.description{
margin: 0 auto;
width: 758px;
line-height: 24px;
color: #6d6d6d;
}
.description p{
padding: 6px 0 0 20px;
I am trying to place the logo next to (or in place of) the "Just another Wordpress weblog" tagline. I am targeting the "description div" and trying to place a image there. The image is really small (like 100px x 100px). I have tried to use backround: url('images/logo.gif'); in the CSS and <img src="images/logo.gif" alt="logo" /> in header.php. I can't figure out what I am doing wrong. If someone would help a self-taught fool like myself and tell me what I am doing wrong, I would be forever grateful.