WordPress.org

Ready to get started?Download WordPress

Forums

2 images in the header? (4 posts)

  1. RatFink
    Member
    Posted 9 years ago #

    I have one image as the background in my header, it's positioned to the right, you can see it here
    http://exitwound.net/
    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?

  2. Root
    Member
    Posted 9 years ago #

    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.

  3. Root
    Member
    Posted 9 years ago #

    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.

  4. Root
    Member
    Posted 9 years ago #

    Wont do.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.