This is a component that puts a search bar along with optional headline and subhead text in a banner above the main topic list navigation.
By default this banner appears on all top-level topic pages (latest/new/unread/top/categories… anything in the
top menu site setting) but it can also be set to only display on a community’s homepage.
- Set the headline and subhead text
- Show the banner on all top-level topic pages (default), just the homepage, or all pages
- Show the banner for everyone, logged in, or logged out users
- Set a background image
The HTML element gets a class named
.display-search-banner wherever this banner appears, and the banner itself is wrapped with the
.custom-search-banner class, so with some CSS you should be able to customize the appearance of this banner however you see fit.
- Add an option to enable the banner in specific categories