WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] header image? (5 posts)

  1. rudophotography
    Member
    Posted 5 years ago #

    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

  2. figaro
    Member
    Posted 5 years ago #

    Everything you want to know in three videos:

    http://educhalk.org/blog/?p=137

  3. charleslaw
    Member
    Posted 5 years ago #

    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

  4. Mark / t31os
    Moderator
    Posted 5 years ago #

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

  5. hedonist
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags