WordPress.org

Support

Support » Themes and Templates » How to use header image as link

How to use header image as link

Viewing 1 replies (of 1 total)
  • I had the same problem. There’s not an easy way to make an image link in CSS. So I defined my header image in header.php instead. The code in header.php looks like this:

    <div id="banner">
      <a href="<?php echo get_settings('home'); ?>/"><img src="http://www.sample.com/images/banner.gif" /></a>
    ...
    </div>
Viewing 1 replies (of 1 total)
  • The topic ‘How to use header image as link’ is closed to new replies.
Skip to toolbar