Lightbox Size Custom Code Help!

Hey all,

I’m hoping to just change how big my lightboxes are across my entire site. Instead of maxing out to the browser side, I would kill to have them go to 75% of the browser size or something similar. Is there a way to do this without adding a whole custom lightbox?

Thanks!

hey @Grant_Hindsley, pls don´t kill.

heres the solution. paste this inside the css panel of your custom code:

div:has(> [data-testid="lightbox-image"]) { width:75%!important; height:75%!important; }

it will change all lightbox images to 75% size while keeping its ratio.

peace