DMXzone Lightbox 2 Support Product Page

Variable width in Lightbox 2

Asked 14 Nov 2016 10:10:57
1
has this question
14 Nov 2016 10:10:57 David Woolley posted:
I would like to set a variable width in Lightbox 2 so that images display at their original size in the modal.

For example for an image of 600px width:
If the width element in the Lightbox settings is left blank, the lightbox overlay fills the entire width of the parent container, while the image displays on the left with a lot of white space on the right.
I want the overlay width to expand or contract according to the image width.

Is there a style that I can change in Lightbox\Styles\default\style.css?

Replies

Replied 14 Nov 2016 10:26:55
14 Nov 2016 10:26:55 Teodor Kuduschiev replied:
Hello,
Please provide a link to your page, so we can see what is wrong.

Reply to this topic