Okay
  Public Ticket #3629462
Size of Photo / Video in Lightbox
Open

Comments

  •  3
    Eric started the conversation

    Hey guys...just curious if it's possible to refine the size of photos / videos when they pop up in the Lightbox. I like that it goes mostly full screen but I often would love the assets to have a little more elbow room and not be so crammed in...maybe fill like 80% of the screen? Would there be a way to easily adjust this globally?


    Thanks in advance!


    8546966336.png

    5658314009.png
  •  2,723
    Andrew replied

    Hi Eric,

    Thank you for getting back to us.

    Try adding the CSS below and let us know how it goes.

    .fancybox-slide {
      padding: 98px!important;
    }
    

    We look forward to your reply.

    Thanks,

  •  3
    Eric replied

    Thanks for the quick reply Andrew...

    Unfortunately that didn't seem to make any difference on either the video pop up or a pop up from a photo gallery. Any other suggestions?


    8332728000.png

  •  1,653
    Judith replied

    Hi Eric,

    Thanks for writing back.

    This is how I see the lightbox images  : https://monosnap.com/file/Ukv8KXrhifaEor9veQTbNi6CCyn562

    Let me know whether I am missing something.


  •  3
    Eric replied

    After playing with it again, I realized that because my browser had timed out none of the new CSS provided was taking. This works great. Adding 98px of padding was a bit too much for mobile so instead I changed it to 


    .fancybox-slide {  padding: 7%!important;
    }

    and it seems to work just fine. Thanks so much!

  •  1,653
    Judith replied

    Hi Eric,

    We're glad this is working now for you.

    I'm happy that we could assist you! If you haven't already, please consider sharing your experience by leaving a review on ThemeForest

    Your feedback is valuable to us and greatly appreciated!

    Should you have any further questions or encounter any issues, please don't hesitate to reach out.

    Best regards,