Support » Themes and Templates » Please help me getting an image in my header

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m not sure why your header.php file isn’t appearing in your text editor but to add an image into your header you need to enter this into style.css

    #header {
    	background: url('images/WHATEVER.gif') no-repeat top left;
            height: ??px;
            	}

    make sure your image is in the wordpress images folder, you can change ‘left’ to ‘right’ or ‘centre’, and that you replace ??px, with whatever height your image is, in pixels.

    Thank you! I did it.

    And in what way is it possible to put an Image on top of your blog title. Because my theme uses the blog titel as a header.

    Thank You!

    Hey,
    you have to hide your header text cus if you delete it it’s mess up with your SEO. So put the following div around your header in header.php, like so:

    <div id="hideheader">
    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    </div>

    and add this into your style.css

    #hideheader {
    display:none;
    }

    So you are a band 🙂 I read your favourite bands, cool, shame I can’t read the rest of your site!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please help me getting an image in my header’ is closed to new replies.