nuropa

off the beaten track

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
components:sidebar:index [2025/07/08 11:01] admincomponents:sidebar:index [2025/07/19 14:58] (current) – external edit 127.0.0.1
Line 12: Line 12:
  
 <aside info>**Note:** The sidebar used for this site can be examined [[:sidebar|here]]. Note that some of the code therein relies on the [[doku>plugin:adhoctags|Ad-Hoc HTML PLugin]] to function.</aside> <aside info>**Note:** The sidebar used for this site can be examined [[:sidebar|here]]. Note that some of the code therein relies on the [[doku>plugin:adhoctags|Ad-Hoc HTML PLugin]] to function.</aside>
 +
 +===== Configuration =====
 +==== DokuWiki configs ====
 +
 +There are not template configuration settings for the sidebar, but please note the following DokuWiki setting that are relevant for how your sidebar is shown:
 +
 +  * [[doku>config:sidebar|Sidebar]] – configure the page name that is used for sidebars.
 +
 +==== Style settings ====
 +
 +In the <a [href=?do=admin&page=styling] [target=_blank]>Template Style Settings</a>, the following options are directly related to the appearance of the sidebar:
 +
 +  * **Sidebar width** – how wide should the sidebar be (can be any CSS length, though ''px'' or ''rem'' are probably most useful here).
 +  * **Sidebar text colour** – Colour of plain text items in the sidebar<strong red>*</strong>.
 +  * **Sidebar link colour** – Colour of links in the sidebar<strong red>*</strong>.
 +  * **Sidebar icon colour** – Colour of icons in the sidebar<strong red>*</strong>.
 +
 +<aside info>**Note 1:** All “colour” items (marked with <strong red>*</strong>) exist in two variants, the second of which is used for the “dark mode”, if enabled.</aside>
  
 ===== See also ===== ===== See also =====