Hi there,
I’m facing the problems with FooGallery in combination with the Primary Navigation of GeneratePress.
During scrolling down in FooGallery gallery the primary navigation (see before and after images) appears in the background, however the gallery should appear in background and the menu should stay in the foreground (like at the wordpress admin bar area).
You can try it yourself here, may be the page has been moved to the root directory in the meantime, so also try this link.
Hi Tom,
to reproduce this bug you need to click on a gallery (for example “Erstellung Webseite (Anfang 2017) :)”).
Sorry for the unclear description!
I’ve looked in firebug at the z-index attribute and found out, that the wordpress admin bar has a z-index of 99999 and the images of FooGallery a z-index of 9999.
It seems that the primary navigation bar of GeneratePress does not set this attribute at all.
So I would like to set this attribute at least to 10000.
What’s the best way to modify the CSS for that?
Strange, the domain provides https normally. Anyway, I fixed this issue finally by putting this under additional CSS:
#sticky-navigation {
z-index: 10000;
}
However I’m not sure if this is a good idea, because it’s a class not an id. I tried to modify the z-index attribute of the id by adding this to additional CSS, but this sadly had no effect: