Wrap Lines of Text

Wrap long lines of text to make sure they don't bleed off the screen on smaller screen sizes.

  • Using WordPress?
    Click here to learn how this can be achieved with the WordPress version of the plugin.

Example Caption Layer that will "wrap" into multiple lines of text:

The two key parts are changing the “data-width” value from “auto” to a finite number.   And then add “white-space: normal” in the inline style.

When a number is added to the “data-width”, this will serve as a “max-width” for the text.  So any text that would normally go beyond this width would just wrap into a new line.