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 8 replies

Comment options

You must be logged in to vote
8 replies
@mchlbckr
Comment options

@cderv
Comment options

cderv Apr 8, 2022
Maintainer

@mchlbckr
Comment options

@yaelAtMaple
Comment options

@mcanouil
Comment options

mcanouil Apr 6, 2024
Collaborator

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
4 participants