Support » Fixing WordPress » Image link instead of blog title link

Viewing 4 replies - 1 through 4 (of 4 total)
  • you need to bring the image out of the background. You can’t make an image clickable if it is being shown in the background of the page – as it is here in the CSS.

    Easiest way is to have the image called with an <img> tag in the header.php file and then just link to it that way.

    Thread Starter karpis

    (@karpis)

    Thanks maestro42,

    Yes, ok. So I must replace the text link by an image with a link.

    I try that and get back if any problem.

    Thread Starter karpis

    (@karpis)

    Yes, much too complicated for me than what I thought.

    As the image must also lead back to “home” from the recent posts, archives, and son on the code will be different than a link from a single image ?

    I suppose that I must insert the <img> … </img> in that code : <link rel=”alternate” type=”application/rss+xml” title=”Mydom RSS Feed” href=”http://mydom.org/?feed=rss2&#8243; />

    But where ?

    Do you have an idea on what would be the code in that case ?

    Thanks for your help, I’m a bit lost here

    This is where the image is being called when it is in the background via CSS:

    <div id="headerimg">
    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    </div>

    This is found in your header.php file. You need to place the image here and then modify the css file accordingly.

    This is what the image link will look like.
    <a href="link"><img src="http://www.imageaddress.com" /></a>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image link instead of blog title link’ is closed to new replies.