Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Making the header clickable

Making the header clickable

Locked

Views: 2,331

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
26 Jun 2009, 05:41
#1
elverdugo0 avatar

elverdugo0

New Zenner

Join Date:
May 2009
Posts:
19
Plugin Contributions:
0

Making the header clickable

This is my site pureperformanceracing.net

I am wondering how i can make my header clickable so when you click anywhere on the header it takes you back to home page?

Is it something simple like adding a piece of code on the stylesheet similar to "<a HREF="http://www.pureperformanceracing.net/home"><IMG SRC="..images/head2_bg_center.jpg"></a> "

or is it much more complicated than that??

26 Jun 2009, 06:03
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Making the header clickable

Not going beyond your redirect (most customers won't either), but links are not entered in a sytlesheet. Links are entered in the php page that creates the header. Then, you can change the look of the link with the stylesheet.

26 Jun 2009, 06:11
#3
elverdugo0 avatar

elverdugo0

New Zenner

Join Date:
May 2009
Posts:
19
Plugin Contributions:
0

Re: Making the header clickable

allright, ill check it out

26 Jun 2009, 06:14
#4
elverdugo0 avatar

elverdugo0

New Zenner

Join Date:
May 2009
Posts:
19
Plugin Contributions:
0

Re: Making the header clickable

in which .php would that be. I tried searching for head2_bg_center with windows grep, but it didn't find it in any php

26 Jun 2009, 06:16
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Making the header clickable

Use the developers tool kit under tools in the admin to do your search.

26 Jun 2009, 06:35
#6
elverdugo0 avatar

elverdugo0

New Zenner

Join Date:
May 2009
Posts:
19
Plugin Contributions:
0

Re: Making the header clickable

I think I found where to put but I don't think I am doing it right. If you go to my site, you see a little word "Logo" on the very top left of my site, that was my attempt at making the header clickable. Any suggestions. This is the code i put it "<a href=""> <img src="../images/head2_bg_center.jpg" alt="Logo"></a>"

26 Jun 2009, 06:47
#7
elverdugo0 avatar

elverdugo0

New Zenner

Join Date:
May 2009
Posts:
19
Plugin Contributions:
0

Re: Making the header clickable

dbltoe:

Not going beyond your redirect (most customers won't either), but links are not entered in a sytlesheet. Links are entered in the php page that creates the header. Then, you can change the look of the link with the stylesheet.

and what did you mean by "Not going beyond your redirect(most customers won't either)"?

26 Jun 2009, 08:08
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Making the header clickable

Your link redirects to another site. Don't like to allow those and most folks using Firefox will get a warning as well.

You already have an <a href in your header. add the image call for the head2_bg_center.jpg in the middle of the the <a></a> with no space.

Then, you'll need to remove the background and position calls from around line 102 of stylesheet_tm.css.

You have several items that are not used in the stylesheet and header. Template Monster?

Lastly, you need to get folks to /home/ a different way. Either move the site to the root or add /home/ to the two configure.php files.