quarto revealjs presentations vertically center content in columns #1386
Answered
by
mcanouil
shannonpileggi
asked this question in
Q&A
-
Is there a away to vertically center content within columns in quarto revealjs presentation? Something like this, where the slide title stays in place in top left, but content within columns is centered.
|
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
Jul 14, 2022
Replies: 2 comments 7 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
shannonpileggi
-
Hi, I am trying to reproduce the second example with the css (.v-center-container) and get this: I use the above code + css example in a new file, Quarto and (R)Studio up to date .... Thanks |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The easy part is to get vertically centered the columns contents (not vertically centered in the slide though).
Columns vertically aligned to the top but content of the columns vertically centered
See Quarto code + CSS
Columns and content vertically centered
The tricky part is now to vertically centered
<div class="columns">...</div>
which is nested in a div withdisplay: block;
.See Quarto code + CSS
/* …