Forums

Banner as Link (7 posts)

  1. jacque427
    Member
    Posted 4 years ago #

    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

  2. mikedancy
    Member
    Posted 4 years ago #

    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?

  3. moshu
    Member
    Posted 4 years ago #

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

  4. jacque427
    Member
    Posted 4 years ago #

    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?

  5. jonimueller
    Member
    Posted 4 years ago #

    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. :)

  6. jacque427
    Member
    Posted 4 years ago #

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

  7. jonimueller
    Member
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.