Docs    Instagram    Customizations

Disable Lightbox but keep the hover effect intact

By default disabling the lightbox will also remove the hover effect on each post. This will preserve that effect and make the post link back to Instagram on click.


Important! Do not disable the lightbox before adding this code.

$('#sb_instagram .sbi_item').each(function(){
    $sbi_link_area = $(this).find('.sbi_link_area');

The red code makes the link open in a new tab. Remove this if you want the link to open in the same tab

Technical Support

Still have questions? We are here to help you succeed.

Open a support ticket