Help modifying my Wordpress Header

Discussion in 'HTML & Website Design' started by AllproJJ, Sep 19, 2008.

  1. #1
    Hey just wanted to ask a simple question... I run several blogs and recently started another one. I'm using a different theme then I'm used to and cant seem to figure out how to change it from text to a logo.

    Here's what the header.php looks like:

    <!-- begin header -->
    <div id="header">
    
    	<div id="headerlogo">
    	<h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
    	<span><?php bloginfo('description'); ?></span>
    	</div>
    	
    	
    	<div class="clear"></div>
    	
    </div>
    <!-- end -->
    Code (markup):
    I have a logo I want to use... All I need is someone to help me point it to an image file and I can do the rest. I'd definitely give rep for anyone that can help me with this.

    Thanks
     
    AllproJJ, Sep 19, 2008 IP
  2. dotcompals

    dotcompals Prominent Member

    Messages:
    2,906
    Likes Received:
    255
    Best Answers:
    0
    Trophy Points:
    320
    #2
    I can help. Add me to yahoo ( dotcompals ) or MSN ( dotcompals (at) msn )
     
    dotcompals, Sep 19, 2008 IP
  3. AllproJJ

    AllproJJ Active Member

    Messages:
    772
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    60
    #3
    K just did... dotcompals
     
    AllproJJ, Sep 19, 2008 IP
  4. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,108
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Cant you just insert the image tag where the link text is displyed ?



    Change -

    
    <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
    
    PHP:
    Change to -

    
    <h1><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><img src="www.blog.com/them/images/name.jpg" /></a></h1>
    
    PHP:
    Pm me if you need more help!

    edit - you may need to amend your css but this should start you off.
     
    Funk-woo10, Sep 19, 2008 IP
  5. ClickMedia

    ClickMedia Banned

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The above will work , but add the border=0 attribute in img tag.
     
    ClickMedia, Sep 19, 2008 IP
  6. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,108
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #6
    or css..;) =more valid
     
    Funk-woo10, Sep 19, 2008 IP