Is there a CSS code so that I don’t have to go into each photo and change the link setting to “apply link to image” and “open image in lightbox”?
Thanks for contacting us!
Please follow following instructions:
1- If you are not using a child theme, please download pre-built Enfold child theme here – https://kriesi.at/documentation/enfold/child-theme/ and activate it. After activating you can go to Enfold child theme options > Import & Export tab and import parent theme settings. You may need to save Enfold child theme options after successfully importing parent theme settings.
2- Add this code to bottom of functions.php file of your child theme – https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
3- Go to /enfold/config-templatebuilder/avia-shortcodes/slideshow/ and copy slideshow.php file to your child theme inside /enfold-child/shortcodes/ folder
4- Replace the content of slideshow.php file in your child theme with this one – https://pastebin.com/wd8udiwp
After applying these changes, lightbox option should be pre-selected in sliders you are going to create. You may still need to go to element options and save and update the page :)