Skip to content

How do I change the background color of the toc slide in revealjs? #12941

Answered by mcanouil
luifrancgom asked this question in Q&A
Discussion options

You must be logged in to vote

When you want to tweak CSS, you need to use your favourite browser inspect/developer mode to investigate the structure of your HTML, then you'll see that the background is controlled by .slide-background not .slide.

Note also that you can go through the documentation on theming Reveal.js slide and find $body-bg which controls the background color: https://quarto.org/docs/presentations/revealjs/themes.html

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@luifrancgom
Comment options

Comment options

You must be logged in to vote
1 reply
@luifrancgom
Comment options

Answer selected by luifrancgom
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 themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants