custom search field for mobile - using bootstrap 3

Look at the search functionality in the mobile (I'm using iphone 5) version of this site:

I need this exact functionality for my bootstrap (wordpress) site. Any suggestions where to look? I've attached the closed and open versions of the search field.feeding-america-search-closed.pngfeeding-america-search-open.png
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Are you asking how to code this or where to find ready made functionality to do this?
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
That is part of the bootstrap functionality.  If you look at an example that uses a nav, you will see similar functionality built in  For more details, look at the navs and navbar

Some wordpress themes have their own customization that will use shortcodes that you use in the comment box that will convert to bootstrap classes.
phillystyle123Author Commented:
I'm looking for ready made functionality examples
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
The search uses collapse

<a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
  Link with href
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
  Button with data-target

<!-- search -->
<div class="collapse" id="collapseExample">
  <div class="well">

Open in new window

In the above example you give the div containing the search the class "collapse" and give it a unique id.  The example above <div class="collapse" id="collapseExample"> Finally your element that gets clicked gets two attribute for collapse and the target.  data-toggle="collapse" data-target="#collapseExample"

You may like this one, it is different but this could do the job.
Check the third one
phillystyle123Author Commented:
lenamtl - I really like this one! my client doesn't want the search in the drop down though on mobile. they just want it next to the pancake menu (not in it)  - is that possible?
Hi sorry for the delay

He may like this one

You can check all related snippets

Another way:
phillystyle123Author Commented:
Thanks lenamtl - I still like your first example the best:

Hoping there is a way to keep it next to the pancake menu on mobile instead of having it collapse into the nav
This is possible
Use this one
as default
and use this search in small view only

For example you can use it with this part of the code

<!-- Search phone-only -->
      <form class="navbar-form navbar-left visible-xs" role="search">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        <button type="submit" class="btn btn-default">Submit</button>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
phillystyle123Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.