R – Where to specify line height for sIFR

sifr

I have not had any luck changing the line height for sIFR. I have tried changing the sIFR css and config file as well as my general style sheet. Is there a special trick?

GENERAL CSS

h1 {
    font-family: Georgia, Times, serif;
    font-size: 24px;
    font-style: normal;
    line-height: 16px; (has had zero impact, even when I go negative)
    color: #000000;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    outline: none;
}

CONFIG FILE

sIFR.replace(minionpro, {
  selector: 'h1', wmode: 'transparent',
  css: '.sIFR-root { color:#000000; text-transform: uppercase; }'
});

Best Answer

Flash uses leading instead of line-height, so simply just use:

sIFR.replace(minionpro, {
  selector: 'h1', wmode: 'transparent',
  css: '.sIFR-root { color:#000000; text-transform: uppercase; leading: 1.5; }'
});

The leading value must just be a number on its own with no measurement value such as px, em, %, etc.