OK. After a bit more Google research, I got this to work. For the benefit of others, here is the step by step.
1) Copy tpl_header.php which is located under includes > templates > template_default > common to includes > templates > your_template_name > common
2) In that file find
Code:
<div id="logoWrapper">
and add this line after it (changing the URL and name to what you'd like to link to, of course)
Code:
<a href="http://www.example.com"><span>The Example.com Store Logo</span></a>
3) Save the file to your server. On your store web page, you should now see the text link you created over your logo banner as a hyperlink.
4) Open your stylesheet.css folder where you added your logo.jpg (which should be living in the includes > templates > your_template_name > css folder)
5) Add "position: relative;" to #logoWrapper like so
Code:
#logoWrapper {
width:790px; /* the width and height of YOUR logo here */
height:100px;
background-image:url(http://www.example.com/images/Store-BannerLogo.jpg);
background-repeat:no-repeat;
position: relative; /* Add this line which will make the absolute position of the next bit of CSS based off of the edge of your logo, not the entire page */
}
6) Add these next two sections of CSS undeneath it
Code:
#logoWrapper a {
position: absolute;
top: 0;
left: 0;
width: 790px; /* the same width and height as your logo here! */
height: 100px;
}
#logoWrapper a span {
display: none; /*this makes the link text invisible, but it will be visible if the viewer's browser ignores CSS. Good for accessibility. */
}
7) Save the edited CSS file to your server and you're DONE!
Now your logo will be a clickable link that degrades well if CSS is disabled in the shopper's browser. Since clickable logos that link to the home page are becoming more and more common and expected, this is a good thing.
So -- this worked for me. Any problems with it that anyone sees?
Bookmarks