Support » Themes and Templates » header image?

  • Resolved rudophotography

    (@rudophotography)


    Can someone please help me out? It may seem simple to most but how the hell do you put an image as a header on your blog?

    http://rudomanyande.com/blog

    i changed the url on the style sheet. my code looks like:

    #header {
    	background: url("<?php http://rudomanyande.com/web/graphics/bg_249.png') no-repeat bottom center;
    	}
    
    #headerimg 	{
    	margin: 7px 9px 0;
    	height: 100px;
    	width: 650px;}

    the image still isn’t showing up though :S

Viewing 4 replies - 1 through 4 (of 4 total)
  • Everything you want to know in three videos:

    How to Edit the Kubrick WordPress Theme

    while i don’t have an image header, i do have a “logo” as my header so i hope this helps

    —-

    in header.php i added a new div id called “logoimg”

    <div id="header">
    
    <div id="logoimg">
    <a href="<?php bloginfo( 'url' ); ?>/"></a>
    </div>
    
    	<div class="sleeve">
            </div>
    		<h1><a href="<?php bloginfo( 'url' ); ?>/"><?php bloginfo( 'name' ); ?></a></h1>
    			<?php if(get_bloginfo('description')) : ?><small><?php bloginfo( 'description' ); ?></small><?php endif; ?>
    	</div>
    </div>

    then in style.css i added in the new div logoimg

    #logoimg {
    	display:block;
    	height: 55px;
    	width:207px;
    	background: url(./i/lp_logo.gif);
    	margin-top: 33px;
    	margin-left: -1px;
    }

    i also hid the title and description in the css by doing

    h1 {
    	font-size: 0;
       text-indent: -1000px;
       color:#FFF;
    }
    #header small {
    	font-size: 0;
       text-indent: -1000px;
       color:#FFF;
    }

    hope this helps

    CTRL + F5 (full refresh) … likely just caching that’s preventing you seeing the new image…

    Hi,
    I want to change bgcolor , now it is green and I would like to change it into blue.How can I do that and where.Is there in header.php or omewhere else?You can see my site

    Thanks a lot.

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