I want to set a header and footer in my presentation. I used the following issue as a starting point: https://github.com/hakimel/reveal.js/issues/806 and http://www.ciges.net/re
Here is a slightly more complicated answer that also works with the pdf-export print version:
Add the elements to the slide-background
section
, slides
, or reveal
). This ready
event. When printing there is a slight delay followed by unnecessary animation of the headers and footers moving into place, but all the headers/footers are rendered in the PDF as desired.
Pseudo-code:
.slide-background
Code: this can be copy-pasted into the end of a reveal.js file (right before the end
tag):