need help in converting wordpress txt logo into graphical logo

Discussion in 'PHP & Perl' started by logoz, Jan 18, 2012.

  1. logoz

    logoz Newbie

    Joined:
    Oct 10, 2011
    Messages:
    45
    Likes Received:
    23
    Occupation:
    Designer
    Location:
    zamir.deviantart.com
    I customized this theme of a client.
    http://www.chapaaonline.com/

    i wanted to place a graphic logo instead of txt logo"chapaaonline" i found in wordpress theme editor the file with name "header.php "

    if i want to place this logo instead of txt logo,

    [​IMG]

    (header.php) where in this code. i do change.
    --------------------------------------
    Code:
     <div class="logo">
    <h1><a href=http://anonymouse.org/cgi-bin/anon-www.cgi/http://forums.digitalpoint.com/cgi-bin/anon-www.cgi/http://forums.digitalpoint.com/"<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>    - <?php bloginfo('description'); ?>">
          <?php bloginfo('name'); ?>
          <span>
          <?php bloginfo('description'); ?>
          </span></a></h1>
      </div>
      <!--/logo -->
    --------------------------------------


    Thanks advance for your help.
     
  2. inviz

    inviz Newbie

    Joined:
    Jun 15, 2010
    Messages:
    45
    Likes Received:
    5
    I would do this in the CSS file,

    load up your themes css and simply add:

    Code:
    div#logo h1 {
                 background: /path/to/logo.png no-repeat;
                 height: 50px;
                 widht:149px;
                 text-indent:-9999px;
    }
                 
    Should do the trick!
     
    Last edited: Jan 28, 2012