Closed Livia14 closed 6 years ago
See ?xaringan::moon_reader
, disable the default title slide (use the seal
option), and provide your own title side.
For future questions, please do me a favor to ask on StackOverflow instead. Thanks!
Hi @Livia14, we just added titleSlideClass
as an option to the nature
argument of moon_reader
that allows you to make this change to the title slide classes from your YAML header.
To achieve your example you can now add the following to the YAML of your slides:
output:
xaringan::moon_reader:
nature:
titleSlideClass: [top, left]
To remove the margin, you would still need a custom CSS file to remove the margin from the .title-slide
class.
.title-slide {
margin: 0
}
Hello! I'd like to insert my tittle before the regular spot (class: left, top), in the beginning of the slide, without any margin.
Am I allowed to do this in the xaringan presentation template without change the CSS specifications? If so, may you please tell me which would be the best way to do this?
Thanks :)