WordPress.org

Forums

Replace blog title with image (8 posts)

  1. chun89
    Member
    Posted 3 years ago #

    How do I replace the blog title with my own image that I have already uploaded to the server?
    here is my header.php code,please help me. I appreciate it so much.

    <div id="header">

    <h1 id="blog-title">/" title="Back to my homepage..."><?php bloginfo('name'); ?></h1>

  2. deSushil
    Member
    Posted 3 years ago #

    I guess using <h1 id="blog-title"><img src="YOUR IMAGE SOURCE" alt="Homepage"></img></h1> should do the work.

  3. Alex
    Member
    Posted 3 years ago #

    for img source use this <img src="<?php bloginfo('stylesheet_directory'); ?>/image_folder/image_name.png" alt="" />

  4. chun89
    Member
    Posted 3 years ago #

    Could u help me now. Please look at my site http://www.collew.com/wp.
    Could you help me move the logo up-above the home tab and everything will be perfect.
    Here is the relevant code.
    <div id="header">

    ">
    <img src="logo_300.jpg" alt="<?php bloginfo('name'); ?>" />

  5. Alex
    Member
    Posted 3 years ago #

    your log_300 is too big its height is 600px, crop it and try to put it before your nav

  6. chun89
    Member
    Posted 3 years ago #

    thx netxm i will try. appreciate it/

  7. Alex
    Member
    Posted 3 years ago #

    it is more HTML issue than WordPress. If you want to build custom theme I'd recommend to take a look how twenty eleven theme is built and maybe start from there.

  8. chun89
    Member
    Posted 3 years ago #

    netxm,pls have a look now at collew.com/wp
    Now, there is a huge gap in my post between the date and the content.I hope I could move the logo higher up and close the gap. Pls advice me. thx.

Topic Closed

This topic has been closed to new replies.

About this Topic