![]() |
Adding link to welcome image
I want to add a link to the welcome image that is on the index page (I am using the fashion mosaic skin, so maybe I should have written this in the add-ons, but I *think* it's a general storefront design question). I have figured out how to change the picture, and how to change the size. I edited the customer/main/welcome.tpl
And I also tried to add a "a href" in there but it didn't do a thing. I feel so silly for not figuring this one out, because it feels like it should be an easy thing! I just want a link to the product we display on the welcome image...:oops: Any help is greatly appreciated. Kind regards, Anna Ps. This is what the index page look like if you want to see the image in question: http://www.tvalskincare.com/xcart/home.php |
Re: Adding link to welcome image
The Fashion Mosaic skin uses images for the welcome message (bad for SEO). I suggest re-coding it to use the image as a background and use actual text for the text. Then you can use regular html for the link.
|
Re: Adding link to welcome image
Ah, I see! And what template do I do this in?
And thank you so much balinor! You are just amazing taking time to answer everyone and their grandmother's questions!! /Anna |
Re: Adding link to welcome image
If you know what template is displaying the image, you should be able to insert an "a href" link --
for example, if the image is: Quote:
then the image with the link would be: <a href="/path/to/destination.html"><img src="{$ImagesDir}/image-123_300x200.jpg" alt="Logo" height="200" width="300" border="0" /></a> SO, for you, your image: /customer_images/welcome.gif becomes: Code:
<a href="/xcart/product.php?productid=6&cat=23"><img src="{$ImagesDir}/customer_images/welcome.gif" alt="you should have some alt text here" height="338" width="537" border="0" /></a> Hope this helps. Jeremy |
Re: Adding link to welcome image
Jeremy, thank you SO much!!
It worked perfectly! I am an admirer of your site by the way! You've done a great job with it!! Kind regards, Anna Edited to add: I'm still interested in learning how to make a search enging friendly message. Should I make a table with the image as background, with text and stuff and then copy that code into customer/main/welcome.tpl? |
Re: Adding link to welcome image
My pleasure. As Padraic suggests though, a large image without any "text" is SEO hostile. You are also using a VERY large image with lots of white space... yes, it's only 28k, but you could do this a little more efficient, especially for SEO. And it may be my tired eyes, but the white text on the "free shipping" area was difficult for me to read at first glance. Hope this helps.
|
Re: Adding link to welcome image
It's not your eyes Jeremy, it *is* hard to read! I realized that my laptop makes all colors appear darker than they are, so that is something I will take care of soon (the webcart is not live yet)
I tried making a test table and pasted the code into customer/main/welcome.tpl and it looks like it will work! (just need to make it pretty:wink: ) Thanks to both of you! I didn't only get an answer to my question, but also help how to make it better (I did not know that search engines like text better than only pictures). You learn something new every day! /Anna |
Re: Adding link to welcome image
Would this method method work in in 4.3?
Despite the SEO risk I want to try something out, how would I go about making the logo into a link |
Re: Adding link to welcome image
Quote:
Newbie question, how would I go about creating the table i.e. what program would I create it in and what code would I have to insert. For version 4.3 |
All times are GMT -8. The time now is 02:42 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.