Forums / Templates, Stylesheets, Page Layout / adding in a 'home' and 'Page Top' link to bottom of product listing page

adding in a 'home' and 'Page Top' link to bottom of product listing page

Locked

Started by sushigal on 23 Jun 2010, 9:06 AM · Views: 1,690

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
23 Jun 2010, 9:06 AM
#1
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

adding in a 'home' and 'Page Top' link to bottom of product listing page

We have chosen to display all products for a category on one page, so in some cases we have long pages. Therefore we'd like to be able to put a 'home' and 'page top' link at the bottom of the product listing pages to savew the user having to scroll all the way back up to go home or to the menu. Is this easily done and if so, could someone help me explain how to do it please?

my site is at htt://www.thegreatgiftshop.co.uk/zencart

25 Jun 2010, 3:29 PM
#2
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: adding in a 'home' and 'Page Top' link to bottom of product listing page

anyone have an idea? I'd really appreciate it.

25 Jun 2010, 4:22 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: adding in a 'home' and 'Page Top' link to bottom of product listing page

It's just a special form of the HTML 'anchor' tag. You would put the first line where you want the link to take the visitor, and the second where you want the link:

<a name="top">top</a>

Create your link and make sure you use the same name as you used in your anchor:

**<a href="#top">Go to Top of Page</a> **

Google 'HTML anchor #' for more info.

I have had browser incompatibilty issues with that tag.

28 Jun 2010, 2:06 PM
#4
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: adding in a 'home' and 'Page Top' link to bottom of product listing page

Hi, thanks where do I insert this code? In the stylesheet??

28 Jun 2010, 2:09 PM
#5
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: adding in a 'home' and 'Page Top' link to bottom of product listing page

Ok, I want the 'page top' link to appear on the blue bar at the bottom of the page next to the 'home link' If thats easier and would look better anyway, but cant find which file to edit to put that link in, it will be the same file for editing the 'home' link im assuming but I cannto find which that is!