Skip to content
No description, website, or topics provided.
HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
common adding some more settings Jul 25, 2019
locales initial commit Jul 15, 2019
mobile initial commit Jul 15, 2019
.gitignore initial commit Jul 15, 2019
LICENSE Create LICENSE Jul 15, 2019
README.md Create README.md Jul 15, 2019
about.json add license and about links Jul 15, 2019
settings.yml adding some more settings Jul 25, 2019

README.md

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 of a Discourse community.

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.

17%20PM|690x326

🏗 Github repo: https://github.com/awesomerobot/discourse-search-banner.git

🔭 Preview it on theme creator

How do I install a theme component?

💖 This very heavily borrows from angus' header search component: https://meta.discourse.org/t/header-search-theme/67959

Available settings

  • Set the headline and subhead text
  • Show the banner on all top-level topic pages (default), or just the homepage
  • Set a background image

Custom styling

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.

Future enhancements

  • Add an option to enable the banner in specific categories
You can’t perform that action at this time.