Forums / Templates, Stylesheets, Page Layout / can search input form box be created over logo image at the hearder?

can search input form box be created over logo image at the hearder?

Locked

Views: 1,368

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Jun 2009, 4:31 AM
#1
youshine avatar

youshine

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

can search input form box be created over logo image at the hearder?

I wonder if we can create an input form box (to be exact the search keyword input box) on the logo image at the header wrapper area.
I learned mapping with hotspots here by reading some others posts, and used the technique to create menus. I wonder if there's any better way to create menus right below logo area.

Here's the site I created for my friend.

http://www.phoup.com/zencart1/

I would very much appreciate for any suggestion.

YouShinehttp://www.phoup.com/include/template/phoup/image/logo.gif

27 Jun 2009, 4:14 PM
#2
diverpeter avatar

diverpeter

New Zenner

Join Date:
May 2008
Posts:
35
Plugin Contributions:
0

Re: can search input form box be created over logo image at the hearder?

Actually there is an easier way to do what you want. I remember I had worked out some thing like this to the other client of mine.

what you needed to do is to remove the search element from your header image first. Then you can move the whole <div id="navMainSearch"> away from the <div id="navCatTabsWrapper"> and have it put right into the <div id="logoWrapper">. You can paste the whole thing the first line after the <div id="logoWrapper"> tag.

Then you can use the absolute CSS positioning on the <div id="navMainSearch"> to place it to the exact location that you want.

If you are still unsure, please let me know, I will work out a sample for you.

Have Fun. Keep it Zennish!

Visit My Zen Cart Blog at Zen48

28 Jun 2009, 6:53 AM
#3
youshine avatar

youshine

New Zenner

Join Date:
Jun 2009
Posts:
42
Plugin Contributions:
0

Re: can search input form box be created over logo image at the hearder?

Dear DiverPeter,

Thanks for sharing this information.

Those suggestion you gave... In which file do I change?

My 67 year old brain is in a state of confusion going through so many files last few weeks trying to set up the zencart the way it is now.

I am learning Zencart for my friend who has the following website, and not much time to learn zencart but to manage the business.
It was his idea that I put the search in the logo area.

http://www.phoup.com/zencart1/

Thanks for offering a sample for me. I will happily take it.

Gratefully,

:yes:

11 Jun 2010, 6:55 PM
#4
carol2848 avatar

carol2848

New Zenner

Join Date:
Nov 2007
Posts:
78
Plugin Contributions:
0

Re: can search input form box be created over logo image at the hearder?

These instructions worked, but I have a positioning question! What is better for this -- absolute or relative? I'm thinking that since relative adjusts from inside the wrapper, that would be better because the wrapper size stays the same. Wouldn't absolute positioning move too much since it adjusts from the edge of the screen, and computer screen sizes can be vastly different?

I'm just learning as I go, and wanted an expert's opinion! Thanks in advance!