How can I make the image clickable so that if you click on it you go (back) to the home page?
hi,
I just changed the top.jpg.
I noticed this line in header.php:
#pttemplate {color: #000; background: #FFF url('
<?php
echo $config_baseHREF;
?>
Or should I add a logo? Can you give me a link how to do that?
Hi Marco,
I see you're using a template from PriceTapestryTemplates.com, and it looks like the image has been implemented as a background rather than inline within the HTML. Dave at PriceTapestryTemplates.com will probably be able to give more in depth help, but I think what you need to do is to replace the section you posted with just:
#pttemplate {color: #000; background: #FFF; }
...and then look for the position after the opening <body> tag, and then after that try inserting something like this:
<div style='margin:auto;'>
<a href='<?php print $config_baseHREF; ?>'><img border='0' src='<?php print $config_baseHREF; ?>images/logo.gif' /></a>
</div>
(or replace logo.gif with top.jpg if you've already changed that to the image you want)
Hope this helps!
Cheers,
David.
--
PriceTapestry.com
Hi Marco,
I assume you have added a logo / image in html/header.php, all you need to do is wrap that in A tags with a link to $config_baseHREF, and add a border='0' tag to your image to make sure that it isn't bordered when it becomes a link, for example:
<a href='<?php print $config_baseHREF; ?>'><img border='0' src='/images/logo.gif' /></a>
Cheers,
David.
--
PriceTapestry.com