Style Royalslider Slides individually

  1. Inside the slide create a HTML-Block and add
    <span class="colors colorScheme01"></span>
  2. Add this to the Royalslider loading script
    $(".colors").each(function(){
       var colorScheme = $(this).attr('class');
       $(this).parent().parent().addClass(colorScheme);
    });

This will add the css-style to the „rsContent div“

<div class="rsContent colors colorScheme01">

Leave a Reply