Font size on ioslides title page

Trying to change the default text size on the cover page from the ioslides presentation, but crashing:

---
title: "My title is a bit too long to fully fit on the title page. I would really like to alter the font size to  provide a better fit. I have limited CSS skills to do so"
author: "My Name"
date: "29 March 2016"
output: 
  ioslides_presentation:
  css: slide.css
---

## R Markdown

This is an R Markdown presentation.

Where is my style.css file:

h1 { font-size: 12px;}

enter image description here

+4
source share
1 answer

First, in YAML, it is important to specify an interval / indent / tab (note the additional tab in the line css):

output: 
  ioslides_presentation:
    css: slide.css

This is not perfect and hopefully someone else can listen, but you can customize the class .title-slidewith tags hgroupand h1with:

.title-slide hgroup h1 {
  font-size: 12px;
  letter-spacing: 0;
}

Note. In the current example, you will need to change letter-spacingto 0(as opposed to the original rendering 3px).

+5

All Articles