Default line spacing

Hi everyone - is there a way to set up default line spacing in Lectora 16? I can't seem to find a way to make the line spacing that I want to apply by default in text styles. Any ideas?

Discussion (1)

There is a paragraph spacing option but it does not allow you to set a default. One option you can try is to add a style sheet with the following:

p {

line-height: 24px!important;

}

This will be applied to everywhere lectora puts text in a paragraph tag. Change the 24px to however many pixels you want separating each line.

Unfortunately, this is one of those instances where you can't apply a class in the appearance tab to the text block and expect it to work. This is because that class would be applied to the div with the HTML Name of text41 (or whatever the text block HTML Name is). Lectora puts your text inside a span which sits inside a paragraph that is inside a div.

This would also work:

div p span {

line-height: 24px!important;

}

This second option is better because it will only style text that is in a span inside a paragraph inside a div (read the selector backwards), whereas the one above will style EVERY instance where text is held in a paragraph tag (questions text, choices, etc..).

It's getting kind late and I'm exhausted. I hope this made sense. 'night.

Discussions have been disabled for this post