If you are using revolution slider or revslider for your website then you have noticed one thing with text/html layers that they don’t get automatically wrapp according to size of the slider. To solve this issue you have to add following lines of code inside your theme’s style.css file or inside “custom css” section of that slider on slider setting page.

.tp-caption {
white-space: normal !important;
}

Or you can use add a custom class to your layer under the “Attributes” property of that layer like ‘my-text-wrap’ and add following lines of code in your theme’s style.css file or inside slider settings using “custom css” section

.my-text-wrap {
white-space: normal !important;
}