• Resolved anistar818

    (@anistar818)


    Hi, I’m trying to figure out which js file is powering the image width and height. I want to scale the image to 75% of the screen fit. Is this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter anistar818

    (@anistar818)

    Hi Archetyped, could you help out with this? Thanks!

    Plugin Author Archetyped

    (@archetyped)

    Hi, have a look at the margin property in the Baseline theme’s client.js file (themes/baseline/js/dev/client.js). The margin requires a pixel value, but you can calculate that using some JS to calculate 25% of the browser’s height (leaving 75% of the browser’s height for the lightbox to fill).

    Note that creating a custom theme is highly recommended whenever customizing the theme, as any modifications to SLB’s included themes will be overwritten whenever a new plugin update is released.

    • This reply was modified 9 years, 3 months ago by Archetyped.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change lightbox height’ is closed to new replies.