Search

Use these patterns to add search your project or subsite.

Search in local masthead

You may place your service search in the local masthead using this pattern. This is the most widely used approach, if you do so be sure to include the id #local-search on your form element.

When your page contains an element with the id of #local-search or #ebi_search, the class .no-global-search will be added to the body tag and the black bar (gloabl-masthead) search will be disabled, as has happened on this page.

Standalone search

If you want to place your site search inside your main content, use this pattern it's much the same as the above.

Have a use case that's not covered?

Please open an issue in the tracker. We'll update this living pattern library with your feedback.