Lightbox question

I was just on the phone with WIX Support and they didn’t have an answer to my question but suggested I try WIX Code. So here is the page I am having issues with:
https://www.andrettisdesign.com/portfolio

If you explore my page you will see that some elements that, when clicked on, are meant to have this illusion of a video playing on the computer monitor. I achieved this by use of lightboxes. The only issue is on screens that have higher resolutions. On some screens the large image I have on this page requires you to scroll down in order to see it all, and this ruins the illusion of my lightboxes since they don’t move WITH the page as you scroll. Is there some kind of code to achieve what I am trying to do and make it so that those little videos stay fixed on the monitor regardless of whether you need to scroll or not? Thank you in advance for any help!

Hi,

First of all I gotta say that this is a cool idea :slight_smile:

Wix Code is designed to add more functionality to your site and can’t help with styling (yet :slight_smile: ).
You may want to consider putting several of these lightboxes and deciding which one to show according to resolution… you can find out the window size using wixWindow .

Liran.

Thank you! Okay great, I am definitely open to suggestions on how to accomplish this without lightboxes. Or is this currently the best way to accomplish what I am trying to do with the apps available in WIX?

Not sure about the Apps actually…
I would consider consulting Wix Support on that one.

Liran