Support » Plugins » wp photo album plus behind menu

  • Resolved Wm van Strijp


    On my webpage ( )I have a menu which wont stay under the popped up thumbnail from the wp photo album plus. I realise this is a Z-index isseu but I can’t get it changed like I think it should be. I tried changing the z-index of the menu. And after that for some reason didnt really do much to resolve the problem I tried changing the z-index of the lightbox.css
    Could someone lend me a hand please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you use the wppa+ supplied lightbox it puts it on z-index 100.
    See wppa-non-admin.php on line 100:

    echo "\n".'#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}';

    This works in most of the cases. Maybe not in your theme or in your lightbox version. Try to find the equivalent of the above in your lightbox.

    The rss icon also is on top of the lightbox, so increasing the lightbox z-index will be the best option

    The menu script says: a, a:link, a:visited, a:hover
       outline: none;
       position: relative;
       z-index: 11;

    I put the bit of coding you said to 1000 and even 11000 but still no luck!
    I noticed the Rss icon is also on top but that didnt bother me too much (and I hoped the fixing the menu problem would also fix that 😉 )
    Thanks for the help so far tho!

    You must try to give lightbox a high number as in my example, and leave the menu a low number. High numbers are on top of low numbers, and, keep them all > 0.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp photo album plus behind menu’ is closed to new replies.