Xaringan: Align title slide to left bottom

Created on 4 Apr 2018  路  4Comments  路  Source: yihui/xaringan

How do I align contents of title slide to left bottom?

Default:
default

This is the alignment I am aiming for:
align

CSS question

Most helpful comment

You should modify the .title-slide class in your CSS to make changes to the title (seal) slide.

For example, if you add the following to your .Rmd file then you should obtain the desired effect

<style>
.title-slide {
  vertical-align: bottom !important; 
  text-align: left !important;
}
</style>

All 4 comments

On a non-title slide, this works:

class: bottom, left

You should modify the .title-slide class in your CSS to make changes to the title (seal) slide.

For example, if you add the following to your .Rmd file then you should obtain the desired effect

<style>
.title-slide {
  vertical-align: bottom !important; 
  text-align: left !important;
}
</style>

And next time, please post such usage related questions on stackoverflow using the #xaringan tag :)

Hi @royfrancis and @ekstroem, 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: [bottom, left]
Was this page helpful?
0 / 5 - 0 ratings

Related issues

DarioS picture DarioS  路  4Comments

tcgriffith picture tcgriffith  路  4Comments

paullemmens picture paullemmens  路  5Comments

ramongallego picture ramongallego  路  3Comments

grawil picture grawil  路  4Comments