Skip to content

Reveal.js Presentation: Title slide without page number and logo #557

Answered by cderv
mchlbckr asked this question in Q&A
Discussion options

You must be logged in to vote

I think that would indeed be interesting to add an option for this - I can see why a cleaner title slide would be desired.

I have managed to done it using RevealJS hooks on events, adding this script at the end of the body. Not straightforward and could probably be simpler but this is a workaround. Pure JS could also be used probably.

include-after: |
  <script type="text/javascript">
    Reveal.on('ready', event => {
      if (event.indexh === 0) {
        document.querySelector("div.has-logo > img.slide-logo").style.display = "none";
      }
    });
    Reveal.addEventListener('slidechanged', (event) => {
      if (event.indexh === 0) {
        Reveal.configure({ slideNumber: null });
 …

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
15 replies
@brueckmann
Comment options

@mcanouil
Comment options

mcanouil Jul 4, 2025
Collaborator

@brueckmann
Comment options

@mcanouil
Comment options

mcanouil Jul 4, 2025
Collaborator

@brueckmann
Comment options

Answer selected by mchlbckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format
5 participants