{"title":"Adding Data","id":51926,"link":"https:\/\/env.averta.net\/en\/step\/adding-data\/","parent":[51826],"content":"<p>Slides can contain specific data that are required by other slider parts, like UI controls. These contents are not visible over the slides, since they will be stored and removed from slides by Master Slider. In this article, you can find out how to define each slide data content.<\/p>\n<h2>Thumbnail<\/h2>\n<p>To set thumbnail for the slide, you need to define the thumbnail image by an img tag and <code>ms-thumbnail<\/code> class name as the direct child element of slide.<\/p>\n<pre class=\"lang:xhtml decode:true \">\t&lt;div id=\"masterslider\" class=\"master-slider\"&gt;\r\n\t\t&lt;div class=\"ms-slide\"&gt;\r\n\t\t\t&lt;!-- ... --&gt;\r\n\t\t\t&lt;img class=\"ms-thumbnail\" src=\"...\/path\/to\/thumbnail.jpg\" alt=\"\" \/&gt;\r\n\t\t\t&lt;!-- ... --&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;!-- .... --&gt;\r\n\t&lt;\/div&gt;<\/pre>\n<h2>Slide title<\/h2>\n<p>To set a title for the slide, you can add it with any HTML element type as a direct child element of the slide with <code>ms-title<\/code> class name.<\/p>\n<pre class=\"lang:xhtml decode:true \">\t&lt;div id=\"masterslider\" class=\"master-slider\"&gt;\r\n\t\t&lt;div class=\"ms-slide\"&gt;\r\n\t\t\t&lt;!-- ... --&gt;\r\n\t\t\t&lt;h2 class=\"ms-title\"&gt;Lorem ipsum dolor sit amet.&lt;\/h2&gt;\r\n\t\t\t&lt;!-- ... --&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;!-- .... --&gt;\r\n\t&lt;\/div&gt;<\/pre>\n<h2>Slide info<\/h2>\n<p>Slide info describes the slide. To add this content to the slide, you can define it by any HTML element as the direct child element of slide with <code>ms-info<\/code> class name.<\/p>\n<pre class=\"lang:xhtml decode:true \">\t&lt;div id=\"masterslider\" class=\"master-slider\"&gt;\r\n\t\t&lt;div class=\"ms-slide\"&gt;\r\n\t\t\t&lt;!-- ... --&gt;\r\n\t\t\t&lt;p class=\"ms-info\"&gt;\r\n\t\t\t\tLorem ipsum dolor sit amet, consectetur adipisicing elit. At quo esse, dolor doloremque! Ab harum aut optio pariatur atque, ratione suscipit voluptatem non ipsa alias, laboriosam cupiditate voluptatum aliquam repellat!\r\n\t\t\t&lt;\/p&gt;\r\n\t\t\t&lt;!-- ... --&gt;\r\n\t\t&lt;\/div&gt;\r\n\t\t&lt;!-- .... --&gt;\r\n\t&lt;\/div&gt;<\/pre>\n","type":"solution"}