damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.67k stars 416 forks source link

Hide navigation buttons #500

Closed stoffprof closed 5 years ago

stoffprof commented 5 years ago

I'd like to hide the navigation buttons and slide numbers.

Adding this to rise.css removes the navigation arrows

.reveal .controls .navigate-left,
.reveal .controls .navigate-right,
.reveal .controls .navigate-up,
.reveal .controls .navigate-down {
    display: none;
}

but this doesn't remove the slide numbers:

.reveal .slide-number {
    display: none;
}

and neither does this:

.rise-enabled .reveal .slide-number {
    display: none;
}

Looking at the CSS in developer tool, here's what I see:

Screen Shot

Any ideas how to get this to work?

parmentelat commented 5 years ago

have you tried to set slideNumber to False in the config ?
this is passed along to reveal.js

edit: see https://rise.readthedocs.io/en/maint-5.5/customize.html#notebook-metadata about to tweak the config

stoffprof commented 5 years ago

Thanks, that worked.