Support » Themes and Templates » 2 images in the header?

  • I have one image as the background in my header, it’s positioned to the right, you can see it here
    I want to replace the title on the left with a logo image, that also links to my front page.
    I know how to do both seperatly, I just can’t seem to figure out how to get them both in there. I’ve tried replacing this title="<?php bloginfo('name'); ?>" > <?php bloginfo('name'); ?> with the standard link to an image, but it won’t work.
    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can’t put an image in an h1. So: I would create a new div called masthead for my header area. I would set the bg graphic on that. In the div I would insert my image inside the div using img src etc (assuming it was good idea at all). My h1 would come out. My image would sit by default top and left so I would use margins to position it. HTH.

    Because anyone without images like folks who are visually impaired, folks using other user agents, folks on text only browsers, search engine bots and the like will not see your imaged h1. This will impair your useability, accessibility and search engine signature (including a lot of blog bots). Fancy folks are either dynamically generating the image or are using an image replacement technique.
    Just my 2c.

    Wont do.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 images in the header?’ is closed to new replies.