Sidebar
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| components:searchbar:index [2025/02/18 13:14] – admin | components:searchbar:index [2025/07/19 14:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Searchbar ====== | ====== Searchbar ====== | ||
| - | The page searchbar is the section below the site toolbar, containing the site logo and the search | + | The page searchbar is the section below the site toolbar, containing |
| - | In the simplest form, it can look like this: | + | There are additional configuration options, like showing either |
| - | < | + | In the simplest form, the search bar may look like this: |
| + | |||
| + | < | ||
| ===== Components ===== | ===== Components ===== | ||
| Line 13: | Line 15: | ||
| The site logo on the left-hand side of the search bar can be customised: | The site logo on the left-hand side of the search bar can be customised: | ||
| - | Use the Media Manager to upload an PNG or SVG image with the name “logo” (i.e. use “'' | + | Use the Media Manager to upload an image with the name “'' |
| - | Or save a static HTML snippet with the name “'' | + | For more information, |
| - | + | ==== Search | |
| - | In either case, please make sure that the dimensions of the logo fit the available space. Use the template image (shown here and by default) as an example. | + | |
| - | ==== Search | + | |
| DokuWiki’s own search functionality is actually pretty good, and already for this reason it should not be hidden away but presented to visitors in the most inviting way. | DokuWiki’s own search functionality is actually pretty good, and already for this reason it should not be hidden away but presented to visitors in the most inviting way. | ||
| - | The search field you see in the middle of the aptly named “Searchbar” is just the “inactive” state of the search widget. | + | The Nuropa template enhances the default |
| + | |||
| + | This feature is described in more detail under: <b maniculus> | ||
| + | |||
| + | ==== Searchbar Tools ==== | ||
| + | |||
| + | To the right of the search field, there is space for a tool widget. This is similar | ||
| + | |||
| + | For more information, | ||
| - | < | + | ===== Configuration ===== |
| + | ==== Template settings ==== | ||
| - | In this mode, the web page content is overlaid (and blurred), so the user focusses on the search instead (a click to the background, or pressing | + | In the <a [href=? |
| - | More information on the search functionality in an upcoming article... | + | * **Site logo** – How should |
| + | * **Searchbar Tool** – What tool should be shown as [[tool|searchbar tool]]? Options are: “User information”, | ||
| - | On smaller screens (e.g. tablets), instead of a search field, a search button (icon plus label) is shown: | + | For more information, please see the page <span maniculus>[[customisation:settings|Settings]]</span>. |
| - | <figure>{{:components: | + | |
| - | On even smaller screens, the labels are also hidden and only the icons are shown: | + | ==== Style settings ==== |
| - | On smaller screens (e.g. tablets), instead of a search field, a search button (icon plus label) is shown: | + | |
| - | < | + | |
| - | The functionality, however, is the same: clicking or tapping on the search icon will open the search | + | In the <a [href=? |
| - | ==== Searchbar | + | * **Searchbar |
| + | * **Searchbar background colour** < | ||
| + | * **Searchbar icon colour** < | ||
| + | * **Searchbar link colour** < | ||
| + | * **Searchfield fonts** – Fonts that should be used for the search field. | ||
| + | * **Search field background** < | ||
| + | * **Search field text colour** < | ||
| + | * **Search field border** < | ||
| + | * **Search popup background** < | ||
| - | To the right of the search field, there is space for | + | <aside info> |