Image size – LIGHTBOX not responsive

Viewing 3 posts - 1 through 3 (of 3 total)
  • #11870
    astandera
    Participant

    Dear Alexander,
    whole theme is beautifully responsive to width of screen. Great. But pictures poped-up in Lightbox are not. Try to click http://immobilier-pour-investir.com/ and there an big image, it looks terribly. It is (probably) caused by chosen Lightbox … or? I tried Highslide (another js pop-up) demos and pictures beautifully fill the screen size according to its width and height.

    When you need big size images for the Home page Slider (1440 px, I think), then pop-up this is very strange.

    Is there any option how to make Pop-up Lightbox responsive to window size?

    Thank you.
    Alois

    #11941
    tpage
    Participant

    Hi,

    try to edit the file pinboard/scripts/colorbox.js.

    There you find in line 14 maxWidth: false, and line 18 maxHeight: false,
    chanege this to maxWidth: “100%”, and maxHeight: “100%”,

    #11977
    astandera
    Participant

    Dear tpage,
    I did what you wrote and it works perfectly. Finally, 80% is the best for me.
    Thank you for your advice.
    Alois

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.