Problem with WordPress Gallery Lightbox Positioning

Associate
Joined
3 Jan 2006
Posts
2,073
Location
Bishopsworth, Bristol
Hi Guys,

As per title - I've installed a generic gallery into the latest version of WordPress. Everything function wise is working fine, but when I load up an image in the LightBox that comes with the gallery plugin, the image seems to get clipped by the header and menu elements of the page.

Here is a screenshot of what I mean:

http://img594.imageshack.us/img594/412/51973239.jpg

So my question is, how do I get LightBox to be positioned on top? You can see that other elements of the site is greyed/dimmed.

I hope this is enough information.

Cheers,
Jake
 
Associate
OP
Joined
3 Jan 2006
Posts
2,073
Location
Bishopsworth, Bristol
Look up z-index. Give the header one of -1 or something.

You absolute legend! Works instantaneously :)

Edit: For anyone who's interested, might help someone out -

I changed the z-index of the #branding tag in the main style.css from 9999 to 1.

From this:
Code:
#branding {
	padding-bottom: 10px;
	position: relative;
	z-index: 9999;
	background: transparent
}

To this:
Code:
#branding {
	padding-bottom: 10px;
	position: relative;
	z-index: 1;
	background: transparent
}
 
Last edited:
Back
Top Bottom