WordPress.org

Forums

[resolved] wp photo album plus behind menu (4 posts)

  1. Wm van Strijp
    Member
    Posted 3 years ago #

    Hello,
    On my webpage ( http://www.sparkadoodle.nl )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?

  2. Jacob N. Breetvelt
    Member
    Posted 3 years ago #

    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

  3. Wm van Strijp
    Member
    Posted 3 years ago #

    The menu script says:

    ul.art-hmenu a, ul.art-hmenu a:link, ul.art-hmenu a:visited, ul.art-hmenu 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!

  4. Jacob N. Breetvelt
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic