Support » Themes and Templates » Banner as Link

  • How do I set my banner image as a url?

    I am using the theme called 04 Fresh Apple 1.0 by Julian Klewes

    Thanks!

    Jacque

Viewing 6 replies - 1 through 6 (of 6 total)
  • if you go into the theme editor and look at the header.php, you’ll probably see something like this:

    < div id="topbanner"><a href="http://www.greenr3.com"><img src="<?php bloginfo('template_directory'); ?>/images/728.gif" alt="ads" width="728" height="90" / > < /a > < /div >

    the < a href = " INSERT WEBSITE HERE "><img src=">? IMAGE GRAPHIC > etc. etc. etc.

    that help?

    And you can also use the Search… it has been asked many times. Just try “clickable header”

    Thread Starter jacque427

    (@jacque427)

    I’ve tried both of the suggestions.

    Mike, my header.php doesn’t anything referencing banner at all.

    Moshu, that search gives me a bunch of options, but none that appear to work with this theme.

    Would it help if I posted my header.php?

    Here’s how I do mine. In the header.php file:

    <div id="banner" onclick="window.location.href='http://www.yourdomain.com'" style="cursor: pointer;"></div>

    And of course the image that is the banner is taken care of in the stylesheet. 🙂

    Thread Starter jacque427

    (@jacque427)

    So Joni, do I add that code? If so, where in the header.php do I put it?

    Whatever ID calls your image header (which you should declare in the stylesheet, not in the header.php file itself), just change #banner to #masthead or whatever yours is called. And link it to your front page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Banner as Link’ is closed to new replies.