Can anyone enlighten me about how to ensure a LightBox doesn’t appear beneath another page element. I want my light box to be on top of everything else on the page. Right now it’s beneath the header (which uses a sticky stack to keep it at the top of the page).
Foundation 6 with Foundation 6 Lightbox. There don’t seem to be controls for ‘z’ value. Screen grab attached.
The sticky stack will have a high z-index as it is meant to go over the top of everything else.
However, the F6 swatch add-on pack has a z-index swatch to change the index.
Or, the easy fix is to move the Lightbox towards the centre of the browser Windows so it isn’t under the Lightbox?
Edit:In fact I think Lightbox has a higher z-index than the sticky stack so it should go over everything. A URL will help us to see what is happening here.
You also suggested an easy fix was to move the lightbox towards the centre o of the browser window. Best way to do that? Using a spacer to push the lightbox down the page? Or some other better but still easy way to achieve that?
Lightbox automatically appears from the centre of the screen. Maybe you are trying to put too much in the Lightbox? Is that Lightbox the News heading and the 4 news blocks underneath?
I was using the Safari developer panel to play with the z index values. I just reduced the menu from 9999 until the menu disappeared under the page, then added 100. Then I added 100 more to the lightbox z value.
You now need to figure out if you somehow set those values when you created the page and if you can change them - or use the z index swatch on those classes.