Skip to content
Discussion options

You must be logged in to vote

For a single slide, an empty <div></div> absorbs the subtitle styling without introducing an empty line.

To disable this for every slide, you can eject the theme, then remove the h1 + p styling.

For the default theme, it is the following in ./theme/styles/layouts.css

  h1 + p {
    @apply -mt-2 opacity-50 mb-4;
  }

Or simply choose a different theme that doesn't treat the first line as a subtitle.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kermanx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants