• If the inline content has a maxwidth, how do we make the lightbox obey that maxwidth? In other words, how can we make the lightbox maxwidth look at the inline content’s maxwidth to determine the size? Right now, the js file has it set to 640px.

    I’ve tried using display: inline-block for the inline div which sets the inline content to conform to the size of the data. But the lightbox size doesn’t seem to care what the inline content size is and sets the width to be 640px

    https://www.ads-software.com/plugins/wp-colorbox/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lightbox size for inline html’ is closed to new replies.