Search Header

Views: 1,070

Results 1 to 4 of 4
26 Jul 2016, 9:34 PM
#1
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Search Header

I can not get the Search Header to work (sideboxes/search_header.php in Layout Boxes Controller). The box shows up, but you can not click into it. You can access it by tabbing through the fields, but not by clicking on it. It will even search when you tab into it. However, I can not tell every visitor to use tab to get to the search....

I know that this is a failure in picaflor-azul's "Winchester Black" template, but I am not getting any help in that support thread. To verify that the issue is not related to any of my plug-ins, I created a fresh install of Ver 1.5.4 (that is what I am using on my sire currently), and only added the Winchester Black Template to the fresh install (no other plug-ins). The box works fine in the Classic Template, but is not accessible in the Winchester Black Template.

I added the CSS lines as in Post 17 of the support thread. That made the box appear, but did not make it functional.

Hopefully someone can help with this.

Test site is http://www.fantasycostume.com/wbtest/

17 Years and still just a "Follower." :P

27 Jul 2016, 3:18 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Search Header

I can tell you what the problem is, but I can't tell you what you need to do to fix it.

What is happening is that you have two text in boxes (one being hidden) in the same location. Only the 'bottom' one being 'clickable', but it is impossible to click on it because the the 'click' is on the topmost (visable) box.

I discovered this via the Firefox dev tools (inspect), then 'live editing' the code to remove the type='hidden' element, and then it behaved as expected.

Sorry I can't be of any more help than that.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

27 Jul 2016, 5:11 PM
#3
masterrusty avatar

masterrusty

Zen Follower

Join Date:
Mar 2007
Location:
Oregon
Posts:
152
Plugin Contributions:
0

Re: Search Header

Thanks. Can you tell which files are generating these boxes? Maybe if I make the front box 1px wide then the bottom one will work.

17 Years and still just a "Follower." :P

28 Jul 2016, 1:51 PM
#4
matt_staines avatar

matt_staines

New Zenner

Join Date:
Oct 2013
Location:
Portishead, North Somerset, United Kingdom
Posts:
34
Plugin Contributions:
0

Re: Search Header

Without being too destructive, you can add the following to your CSS file:

#menu {
position: relative;
left: -20px;
width: 80%;
top: 70px;
}

That worked for me in dev tools.