Web Weather > Weather Web Site Help

TOP.PHP

(1/1)

VE2BYW:
How can i put an image on my website header ?

saratogaWX:
For the Saratoga template, a banner image can be added to header.php (not top.php) by changing
--- Quote ---      <h1 class="headerTitle">
        <a href="index.php" title="Browse to homepage"><?php echo langtransstr($SITE['organ']); ?></a>
      </h1>   

--- End quote ---
to
--- Quote ---      <h1 class="headerTitle">
        <a href="index.php" title="Browse to homepage">
            <img src="header.jpg" width="100%" alt="<?php echo langtransstr($SITE['organ']); ?>" />
        </a>
      </h1>   

--- End quote ---
where the image is named 'header.jpg' and it is sized to match the width of your template (800 px for narrow aspect)

Navigation

[0] Message Index

Go to full version