adding logo to WP theme! need help

Discussion in 'CSS' started by oblivion19, Sep 4, 2008.

  1. #1
    hey..

    I have no idea about CSS which has made this task almost impossible to solve,...

    Im have wordpress version 2.6

    i need to know precisely how to add images (logo and banner)

    one way is simply by replacing the logo in the theme folder..

    but how the heck do i align it correctly and to the size i want..

    pls give me what code to implement and where


    so.. well. im looking for the code to align and resize my image.

    thank u

    any help frm the pros will be appreciated
     
    oblivion19, Sep 4, 2008 IP
  2. Colleen

    Colleen Illustrious Member

    Messages:
    6,777
    Likes Received:
    725
    Best Answers:
    1
    Trophy Points:
    430
    #2
    I am not sure how much experience you have with editing html, you need to edit the header.php file of the theme, and put the code for your logo/banner in there.
     
    Colleen, Sep 4, 2008 IP
  3. mypsdtohtml

    mypsdtohtml Guest

    Messages:
    96
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    In this WordPress theme you need to edit header.php

    the basic XHTML is:

    <a href="http://www.yoursite.com"><img src="http://www.yoursite.com/yourimage.jpg"></a>
     
    mypsdtohtml, Sep 5, 2008 IP
  4. gameOn

    gameOn Member

    Messages:
    624
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    35
    #4
    Thats simple, just open header.php file inside your theme folder and look for this code >
    
    <a href="<?php echo get_settings('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.gif" alt="<?php bloginfo('description'); ?>" /></a> 
    Code (markup):
    Here template url is the the root to your site theme (which you are using) and in it Logo.gif is the logo image Displayed in Header (from Images folder) Just edit it with the name of image You want to display..
     
    gameOn, Sep 5, 2008 IP