WordPress.org

Support

Support » Themes and Templates » Insert logo graphic in header?

Insert logo graphic in header?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sorry, that code didn’t show up too well. Let’s see if this looks better. You can always look at the source code on findingthewhitespace.com.

    <body>
    <div id=”container”>
    <div id=”page”>

    <div id=”header”><h1>” title=”<?php bloginfo(‘name’); ?> <?php _e(‘home page’); ?>”><?php bloginfo(‘name’); ?></h1></div>

    <?php get_sidebar(); ?>

    Like this:

    <div id="header">
    <div id="headerimg">
    <h1>" title="<?php bloginfo('name'); ?> <?php _e('home page'); ?>"><?php bloginfo('name'); ?></h1></div>

    Define in stylesheet (example only – you need your values):

    #header {
    	background: #73a0c5 url('images/newlogo.gif') no-repeat bottom center;
    	}
    
    #headerimg 	{
    	margin: 7px 9px 0;
    	height: 92px;
    	width: 140px;
    	}

    I ruv you, Samboll.

    You just taught me how header.php relates to style.css. Powerful!

    RipRapRob

    @ripraprob

    I have the same problem and I’ll try this soloution, but isn’t there a </DIV> missig somewhere (the <div id=”headerimg”> should have an end tag, no)?

    Should it be right after <div id=”headerimg”> like this:

    <div id="headerimg"></div>

    /Rob

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Insert logo graphic in header?’ is closed to new replies.