If you need to set the layer only get visible when the mouse cursor moves over the slider, you can set ms-show-on-hover
class name to the layer frame element.
Important: This class name only fades the layer and does not support layer animation-in or animation-out.
<div id="masterslider" class="master-slider"> <div class="ms-slide"> <!-- .... --> <div class="ms-layer" data-type="text" data-frame-class="ms-show-on-hover"> Text layer content here... </div> <!-- .... --> </div> <!-- .... --> </div>