tips:topbar
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:topbar [2015-03-22 01:00] – reply to spacing problems ach | tips:topbar [2023-06-15 10:36] (current) – support in JJ? asheenlevrai | ||
---|---|---|---|
Line 13: | Line 13: | ||
</ | </ | ||
- | For that to work you need two files, **which are automatically included** (//automatically included | + | For that to work you need two files, **which are automatically included** (//by dokuwiki code(tpl_footer.php)//). If they don't exist yet, just create them. If they do exist, just add the code to them. The code is using the new default template as an example. |
Add this to your template' | Add this to your template' | ||
Line 30: | Line 30: | ||
/* top bar */ | /* top bar */ | ||
.dokuwiki .topbar { | .dokuwiki .topbar { | ||
- | position: absolute; | + | position: absolute; |
top: 0; | top: 0; | ||
left: 0; | left: 0; | ||
Line 142: | Line 142: | ||
Maybe a plugin is of interest for the visitors of this page: [[plugin: | Maybe a plugin is of interest for the visitors of this page: [[plugin: | ||
+ | |||
+ | Change the position to fixed instead of absolute will make the top bar sticky at the top. :) | ||
+ | |||
+ | ==== Compatible with Hogfather? ==== | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | EDIT: [[https:// | ||
+ | -a- | ||
+ | |||
+ | ==== IGRO (2022/ | ||
+ | |||
+ | Since the upgrade to IGRO, the font is different. What must be done here so that it looks " | ||
+ | |||
+ | Self solution <code css> | ||
+ | |||
+ | |||
+ | ----- | ||
+ | ==== Dumb Question: Is the top-bar fixed, non-scrolling? | ||
+ | < | ||
+ | I find that the top-bar moves up and off the screen when I scroll down - is the expected behaviour? \\ | ||
+ | Referring to '' | ||
+ | TIA \\ | ||
+ | a</ | ||
+ | |||
+ | |||
+ | // | ||
+ | Oh the humiliation; | ||
+ | I realised that I just needed to change '' | ||
+ | __**end humiliation**__// | ||
+ | ----- | ||
+ | |||
+ | ==== support in Jack Jackrum ==== | ||
+ | |||
+ | Does this still work in JJ? | ||
+ | I get errors in the logs (reported [[https:// | ||
+ | |||
+ | Thanks :) | ||
+ | |||
+ | -a- |
tips/topbar.1426982414.txt.gz · Last modified: 2015-03-22 01:00 by ach