Page 1 of 1

Resizing a Lightbox

Posted: Mon Jun 10, 2019 5:34 pm
by 44MLB
Through a text link or a themeable button I have a link to a page in my project which I have set to open in a Light Box. Though there is a setting button I cant find a way to change the size of Light Box which I would like to change to match the page or image size. How can I do this?

Re: Resizing a Lightbox

Posted: Mon Jun 10, 2019 5:47 pm
by BaconFries
What Lightbox are you using? If using the Fancybox then try the following:

Code: Select all

width: 640,
height: 641
More information:
http://fancybox.net/api

Re: Resizing a Lightbox

Posted: Mon Jun 10, 2019 7:54 pm
by 44MLB
Many thanks BaconFries. Looks like it worked perfectly. :D