How To Use
To create a custom overlay use a div element with the CSS class overlay
. You can set the effect parameter to the data attribute. For example:
<a data-spotlight=”on” data-lightbox=”transitionIn:elastic;transitionOut:elastic;” href=”../../wp-content/themes/MJ-Simple/images/sample2.png”>
<img src=”../../wp-content/themes/MJ-Simple/images/pages/3.jpg” alt=”Spotlight Image” />
</a>