Avatar sven.grossenbacher asked

[Tutorial] Lightbox UIKIT3

Hi,

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">  
      </div>  
  • UIkit
  • Tutorial
  • YOOtheme Pro

Edited

1 Answer

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