DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:topbar

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
tips:topbar [2020-12-14 08:29] LMS23tips:topbar [2023-06-15 10:36] (current) – support in JJ? asheenlevrai
Line 30: Line 30:
     /* top bar */     /* top bar */
     .dokuwiki .topbar {     .dokuwiki .topbar {
-        position: absolute; /* "fixed" for always on top */+        position: absolute; /* "fixed" for sticky on top */
         top: 0;         top: 0;
         left: 0;         left: 0;
Line 144: Line 144:
  
 Change the position to fixed instead of absolute will make the top bar sticky at the top. :) Change the position to fixed instead of absolute will make the top bar sticky at the top. :)
 +
 +==== Compatible with Hogfather? ====
 +
 +<del>Hi :) Is this compatible with Hogfather? I was using it on greebo but can't seem to make it work on Hogfather (the topbar is not displayed).</del>\\
 +<del>Tx</del>\\
 +<del>-a-</del>
 +
 +EDIT: [[https://forum.dokuwiki.org/d/19658-topbar-in-hogfather|apparently it is]]. My bad.\\
 +-a-
 +
 +==== IGRO  (2022/08/01) ====
 +
 +Since the upgrade to IGRO, the font is different. What must be done here so that it looks "normal" again?
 +
 +Self solution <code css>font-size: 100%;</code>
 +
 +
 +-----
 +==== Dumb Question: Is the top-bar fixed, non-scrolling? ====
 +<del>Many thanks for this plugin, I'm utterly incompetent with html, css and similar but I've managed to follow your instructions. \\
 +I find that the top-bar moves up and off the screen when I scroll down - is the expected behaviour? \\
 +Referring to ''./conf/userall.css'' the line ''position: absolute; /* "fixed" for sticky on top */'' made me think that the top-bar should remain visible even on scrolling. \\
 +TIA \\
 +a</del>
 +
 +
 +//__**answering myself:**__  \\
 +Oh the humiliation; but I leave this in case anyone in future stumbles across it. \\
 +I realised that I just needed to change ''position: absolute;'' to ''position: fixed;''\\
 +__**end humiliation**__//
 +-----
 +
 +==== support in Jack Jackrum ====
 +
 +Does this still work in JJ?
 +I get errors in the logs (reported [[https://forum.dokuwiki.org/d/21176-error-message/2|here]])
 +
 +Thanks :)
 +
 +-a-
tips/topbar.1607930997.txt.gz · Last modified: 2020-12-14 08:29 by LMS23

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki