How to open Envira Lightbox with PRO Content Area Modal

Hello,

Is there a solution to open the lightbox with one click? My favorite solution would be the new “Content Area Modal” Element. But unfortunately the element opens first another gallery view before it gets to the lightbox.

  1. I placed the Content Area Modal:

  1. By clicking once you’ll get this view:

  1. If you click on one of the pictures the lightbox shows up behind:

Thx a lot! Cheers, Pascal
(Credentials are attached)

Hello There,

Thanks for writing in! To resolve your issue and make sure that the Envira Lightbox will display above the content area modal,please edit your page back in Cornerstone and insert the following custom css in the settings tab, Settings > Custom CSS

body .x-modal {
   z-index: 9999;
}

Hope this helps. Kindly let us know.

Hi, thanks for this quick and dirty solution :grin: This works!
But isn’t there a way to go straight to the lightbox by open up the modal element?

Cheers, Pascal

Hi Pascal,

Those 2 lightbox have different settings. Both of those z-index settings are set on the theme and the plugin CSS files. There’s no option on the element to adjust it. That is why the fixed is to add CSS manually.

Alright. Thank!

You are most welcome!

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