How to add a search bar

  • 0
  • 1
  • Question
  • Updated 12 months ago
  • Acknowledged
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Archived

I am looking to add a search bar to my homepage to make it easier for customers to find products, rather than them searching through all the different pages. Is this possible?
Photo of William2455

William2455

  • 70 Points

Posted 12 months ago

  • 0
  • 1
Photo of Drew N

Drew N, Community Manager

  • 257,542 Points 100k badge 2x thumb
Which site do you want to add it to?
Photo of Anthony3932

Anthony3932

  • 62 Points
I have the same question. I've tried other html codes and nothings working the way it should.  I'd like to add it to my site:  www.justourthriftstore.com - HELP! 

I want to get this site up and running but not without a search box, thanks.
Photo of susan2829

susan2829, Champion

  • 42,858 Points 20k badge 2x thumb
www.master.com offers a free on site search. I've used their platform for years and have been extremely happy with it. I haven't tried it with the new Websitebuilder so not sure how it will work there.
Photo of Drew N

Drew N, Community Manager

  • 257,542 Points 100k badge 2x thumb
On Websitebuilder sites, you unfortunately need to add it to the Site header or the site footer, which means you don't have control over where it displays. The HTML element in Websitebuilder runs in a frame and so is essentially an embedded page. It doesn't see the surrounding elements.
Photo of susan2829

susan2829, Champion

  • 42,858 Points 20k badge 2x thumb
So the ability to add anything in the Body doesn't exist? Is this something that is being worked on?
Photo of Drew N

Drew N, Community Manager

  • 257,542 Points 100k badge 2x thumb
Unfortunately, you can't add to the body at this time. We have requested the change, but I don't have any status. Many things don't matter, but obviously so do, like searches, translate, etc.
Photo of Ken9868

Ken9868

  • 560 Points 500 badge 2x thumb

WOW! That’s a bummer.  I’m still in the process of working on my huge site. In the “BODY” section, I did put in some HTML’s.  (Email buttons, social buttons, translate, etc)

Just to clarify Drew: If you want these special HTML’s to work, what you are saying is that they must be added to the Header or Footer section only.  In the body section, it will not work.  Is that correct, Drew?

In addition Drew, you’re probably suggesting (at this time) that I remove them from the “Body” section.

Is that correct too?

There’s no point, for me anyway, to put these HTML’s in the Header or Footer because each one has a specific code for that specific page!  Headers and Footers are “universal”, meaning the same HTML and code appears on ALL of the pages.  Right?

If this is correct, I'll have a lot more re-working to do.
Photo of Drew N

Drew N, Community Manager

  • 257,282 Points 100k badge 2x thumb
Ken9868, Email me buttons should work fine, as should social buttons. Some HTML needs to "see" the rest of the page around it and some does not. An iframe is essentially displaying the code inside an isolated box preventing it from seeing the content on the rest of the page. So many things will work, but some things will not, so if you add HTML, I suggest testing it to see if it does what it is supposed to do.

This conversation is no longer open for comments or replies.