Ready to get started?Download WordPress


Using an image in the header (3 posts)

  1. jessicatink
    Posted 8 years ago #

    Hi everyone.

    I've been trying to figure this out for the last 3 hours and it has me stumped.

    I'm using Journalized-sand, and I'm trying to replace the area in the middle, at the top where it says my blog name, with an image I created.

    Any ideas?

  2. sdollen
    Posted 8 years ago #

    haven't posted in quite awhile, so hopefully I can put the code to show up correctly.

    <div id="headerblock">

    <h1 id="header"><a href="http://www.ladykildare.com">/life/reviewed/</a></h1>
    <p class="centerP"></p>
    </div> <!-- headerblock -->

    Replace the href with your url with something like this:

    `<A HREF="#TOC"><IMG SRC="redball.gif" ALT="*"></A>'

    Should work pretty easily. You'll make the code change in your "header.php" file and then upload your new header.php and the image file to your server.

  3. Michael Bishop

    Posted 8 years ago #

    Another option is to define a background image in your CSS, either for the entire header, or set a smaller div within the header (if, for instance, you also have a nav bar).


    For tons of great info.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.