I would like to move the lightbox modal image slightly higher on the page

Q: I would like to move the large image slightly higher on the page when it opens.

A: Find the following code in engine/js/visuallightbox.js file:

var imgTop=getPageScroll().y+(m().winHeight-(imgHeight+B+options.borderSize*2))/2;


change it to:

var imgTop=getPageScroll().y+(m().winHeight-(imgHeight+B+options.borderSize*2))/2-100;

Related