Avatar sven.grossenbacher asked

[Tutorial] Lightbox UIKIT3


I wanted to create a lightbox in Yootheme PRO and could not find the lightbox component however you can make it with the Modal component instead:

<!-- This is the small image inside content -->     
<a href="#sccmon-2" uk-toggle><img src="/images/sccmon-2-data-flow-small.jpg"></a>  

<!-- This is the Lightbox view-->  
    <div id="sccmon-2" uk-modal="center: true">  
         <img src="/images/sccmon-2-data-flow.jpg" class="uk-modal-dialog uk-width-4-5">  
  • UIkit
  • Tutorial
  • YOOtheme Pro


1 Answer

Know someone who can answer? Share a link to this question via email or twitter.