Lightbox not working after update to 4.2

Hello! I updated Pro to 4.2, but the lightboxes still aren’t working. I’m not sure what else to do and was hoping you could look into it.

Below is an example of one of the lightbox shortcodes:

[image class="lb-1" src="/wp-content/uploads/2020/06/service-area-okc.jpg" link="true"]

[lightbox selector=".lb-1" deeplink="true" opacity="0.2" prev_scale="0.75" prev_opacity="0.75" next_scale="0.75" next_opacity="0.75" orientation="vertical" thumbnails="false"]

Credentials to follow

Hello @WaggingLabs,

Thanks for writing in! In the release of WordPress 5.6, they have updated the jQuery to 3.0 which broke the lightbox in the theme. With the update of WordPress, the lightbox was no longer working because of their change in the Javascript. What you can do is to utilize the content area modal element. You can go to Pro > Global Blocks and create a custom block. This is where you insert the content area modal element, set up the toggle and contents of the modal. Once you are done, take note of the global block shortcode and then you can insert the shortcode as a slide in the classic slider. You may also inside the content area modal element in one of your columns on the page if needed.

Hope this makes sense.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.