Skip to main content
Inspiring
May 22, 2017
Answered

How to force a line wrap in the TOC

  • May 22, 2017
  • 1 reply
  • 544 views

Hi there,
I have a two-line section headline which I'd want to appear wrapped to two lines in the TOC. Any ideas anybody if and how this can be done? Thanks.

    This topic has been closed for replies.
    Correct answer Gaanf

    Nevermind, I figured it out myself (at least for HTML5). Inserting simple HTML line break tag <br> did the trick.

    1 reply

    R_H__
    Inspiring
    May 22, 2017

    I'm not sure about line wrap... but in HTML courses, you can change the width of the TOC, this might remove the need for another line. Once published, open up the CPM.js file. Search for tocProperties. There is a width property that you can change to your required size.

    GaanfAuthor
    Inspiring
    May 23, 2017

    Thanks for the hint, but actually I already had to extend the TOC width anyway in the Captivate Scin editor to at least display the first of the two line in full.

    GaanfAuthorCorrect answer
    Inspiring
    May 23, 2017

    Nevermind, I figured it out myself (at least for HTML5). Inserting simple HTML line break tag <br> did the trick.