• Resolved Eatbeat

    (@eatbeat)


    Greetings. Just started with my first blog (…well, not really started!). I’m using the Blog.txt theme, but can’t find a way to change the header into an image. The code, I believe, needs to be changed is:

    <div id=”header”>
    <h1 id=”blog-title”>/” title=”<?php bloginfo(‘name’) ?>”><?php bloginfo(‘name’) ?></h1>
    <?php the_post() ?>
    <?php if ( is_day() ) : ?>

    <?php else : ?>
    <div id=”blog-description”><?php bloginfo(‘description’) ?></div>
    <?php endif; ?>
    <?php rewind_posts() ?>
    </div><!– #header –>

    Can anyone tell me where and how to change this code so I can have an image appear as header of my blog?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • haochi

    (@haochi)

    <div id="header">
       <a href="<?php bloginfo('url'); ?>"><img id="blog-title" src="IMG_URL" alt="SHORT_IMG_DESCRIPTION" title="<?php bloginfo('name') ?>"/></a>
    Thread Starter Eatbeat

    (@eatbeat)

    Haochi, thanks much! This did the trick.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Blog.txt add header image’ is closed to new replies.