How to place image logo instead of using text for title on header ?

Discussion in 'WordPress' started by GettyCash, Dec 28, 2007.

  1. #1
    Does anyone know how to place image logo on header ?
     
    GettyCash, Dec 28, 2007 IP
  2. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #2
    Yes ,

    You need to define a css class and then use this code

    <div id="header">

    </div>


    #header {
    	background: #FFFFFF url(images/toplogo.jpg);
    	width: 998px;
    	height: 96px;
    	margin: 0px auto 0px;
    	padding: 0px;
    	overflow: hidden;
    	}
    	
    #header img a{
    	margin: 0px;
    	border: none;
    
    	}
    PHP:
    Hope that helps :)
     
    sundaybrew, Dec 28, 2007 IP
  3. GettyCash

    GettyCash Active Member

    Messages:
    547
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Thank you :D

    I have been trying to modify my wordpress theme.

    There're so many things for me to learn.
     
    GettyCash, Dec 28, 2007 IP
    sundaybrew likes this.
  4. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #4
    Yes!, there really is :)

    I recently just taught myself the ins and outs for css and the wordpress "loop" as they say..

    I just took the default template and spent like 40 hours playing with stuff,

    Like "what happens when I do this"

    and then 40 hours later , I can code a complete theme soup to nuts and even build small modules for myself,

    Its actually really simple , once you get it :)

    Good luck on your theme

    Check out Small Potato http://www.wpdesigner.com

    This dude is GOOD , I read his stuff and he always has some free weird tweaks he is releasing.

    He also has a forum there as well. you can see me there with the same user name.

    Hope that helps

    Happy New Year ( Soon )
     
    sundaybrew, Dec 28, 2007 IP