Header link causing search box problems


Author Message
Vik

Posted: 12/5/2009
Quote message 

Can anyone offer some help please? I'm a newbie and I'm floundering!

I've added a link from my header to the home page by changing this code in the header.php file:

<div class="art-Header"> 

<div class="art-Header-png"></div>


<div class="art-Header"> 

<div class="art-Header-jpeg"></div>



to this:

<div class="art-Header"onclick="location.href='http://www.vickyharris.co.uk/';" style="cursor: pointer;"> 

<div class="art-Header-png"></div>


<div class="art-Header"onclick="location.href='http://www.vickyharris.co.uk/';" style="cursor: pointer;"> 

<div class="art-Header-jpeg"></div>



However, in doing so it has interferred with my search button so that if you type in the search button, then the page jumps back to home.

Any suggestions for a fix would be very gratefully received!
 
Garry

Posted: 12/5/2009
Quote message 

You are simply adding one link to another website and I think there is no relation of this code with search button
 
Vik

Posted: 12/6/2009
Quote message 

Hi Garry,
Thanks for taking the time.
It's weird - when I put the code in then immediately the search stops working; when I take it out the search is okay. At the moment the code is in. Here's the site: http://vickyharris.co.uk/
Weird huh? But maybe not to someone (unlike me) who knows what they are doing...
 
Garry

Posted: 12/6/2009
Quote message 

I can't even type anything in search box, are you header links working currently
 
Jane

Posted: 12/7/2009
Quote message 

Your Header Div goes all the way to the bottom of the page so it looks like you might have deleted an end of Div.

The Header div should end above art-nav

I would suggest generating again and doing a source compare to see when you deleted the div from
 
Vik

Posted: 12/8/2009
Quote message 

Jane - you were right about there being a missing Div. I've added one in and it works perfectly! Many thanks :-)