How can I disable vertical centering? #3069
Answered
by
hakimel
AhmedThahir66
asked this question in
Q&A
-
Sorry if the solution is already existing, but I can't seem to find anywhere. How do I make the default start position of all content of my slides to be vertically-aligned to the top rather than the middle, while maintaining all other default reveal.js styles? |
Beta Was this translation helpful? Give feedback.
Answered by
hakimel
Nov 17, 2021
Replies: 1 comment 3 replies
-
You can align your content to the top by setting the Reveal.initialize({
center: false
}) Here's an example with centering disabled: https://revealjs.com/demo/?center=false |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
hakimel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can align your content to the top by setting the
center
config option to false.Here's an example with centering disabled: https://revealjs.com/demo/?center=false