I have youtube videos embedded, and I have a div that appears on top of the rest of the pages. The problem is that without adding additional parameters (wmode = opaque) to the youtube embed code, youtube videos appear above the lightbox.
Is there a better way to achieve this? How is some CSS that I can add to a div file?
Note. I do not use only lightboxes or thick boxes, but only my own base code. Css which I use for my lightbox div:
#shade {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: 000;
z-index: 1001;
}
source
share