Salient v13.0 Major Release (3/25/2021) is now available.

If you're on a version prior to 10.5 and are considering updating, it's important to read through our update guide before updating to ensure a smooth transition.

Click here to view the update guide

Okay
  Print

Make Column Link Open Lightbox

Step 1: Add an Extra Class Name in the Column Setting of the Column that need to open a LIghtbox . In our Example we have added "lightbox-column" as Extra Class Name .


Step 2: Add the Javascript code in Salient Theme Options Panel -> General Settings ->  CSS/Script Related Section .

For Video :

<script type="text/javascript">
jQuery( document ).ready(function() {
jQuery(".lightbox-column a.column-link").attr("rel","prettyphoto").addClass("nectar_video_lightbox");
});
</script>

For Image :

<script type="text/javascript">
jQuery( document ).ready(function() {
jQuery(".lightbox-column a.column-link").attr("rel","prettyphoto");
});
</script>
Click to View Larger Image