0

I have a presentation using reveal.js and the text (title, body, etc.) change position every time I change slide.

Is there a way to fix text and title to be top left (so that at least the title stays in place?)

In the following image, you can see that the title is shifting down from one slide to the next (use the search box" as a reference).

enter image description here enter image description here

M. Beausoleil
  • 3,141
  • 6
  • 29
  • 61
  • Could you please edit your question to include a [minimal reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example)? – Kevin Arseneau Sep 28 '17 at 23:47

1 Answers1

3

I believe you have your YAML header setup incorrectly if you are not getting the expected behaviour.

---
output:
  revealjs::revealjs_presentation:
    center: true
---

The center: true entry is for vertical positioning according to the reveal.js configuration (link).

// Vertical centering of slides
center: true

Kevin Arseneau
  • 6,186
  • 1
  • 21
  • 40