Adding header and footers

Hi i am wondering how i add headers and footer to pages, thanks for your help.

Do you mean headers/footers in an exported document format, like PDF?

yea with page numbers etc

I couldnt find it either, at least with page numbers etc.

Closest thing was this, but you probably saw it too?

Adding permanent headnotes on every rendered page - Features - Joplin Forum (joplinapp.org)

yea cheers saw that, but still couldnt figure out how to make that work

1 Like

Just edit the content text, colours, fonts, sizes etc. to what you require and place the css in your userstyle.css file. Then fully quit Joplin (File > Quit) and restart.

 .exported-note::before {
      font-family: 'Roboto Mono';
      font-size: 10px;
      color: darkgrey;
      display: block;
      text-align: right;
      content: 'This is the header text';
}
 .exported-note::after {
      font-family: 'Roboto Mono';
      font-size: 10px;
      color: darkgrey;
      display: block;
      text-align: right;
      border-top: 1px solid darkgrey;
      content: 'This is the footer text';
}

As stated in the linked post this method is very limited as to what it can do. The header will be at the top of the exported note and the footer at the very end. For long notes they will not appear on every page. They are also "fixed" for every note exported; you cannot have per-note values.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.