• Hello!

    I tried to add the following bit of code to shadowbox_conf. It should allow the user to click on the image to close the box again (not “just” overlay and close-icon):

    onFinish:function(){$('#sb-body-inner img').one('click',Shadowbox.close);}

    Can someone point to where I have to place that? I tried it in the footer.php but then I would need to add a second Shadowbox.init which doesn’t seem to work (as it gets already initialized through the plugin).

The topic ‘How to alter shadowbox_conf?’ is closed to new replies.