I’m using a modification of the latest version of Dawn. I created a simple free shipping bar that sits below the header but above the main content. It is set with a z-index of 3, because product images were displaying over it when scrolling. So far so good.
My predictive search drop-down is displaying under the new free shipping bar, like this.
It, too, has a z-index of 3, so I figured if I changed that to a 4, that would resolve the problem. But it doesn’t. I tried dropping it, too, to a 2 and then a 1, but it never changed its position relative to the other elements. Changing the z-index on the predictive search does nothing. Clearly, something else is setting where it is on the z-axis.
If I change the free shipping bar to z-index: 2, it does drop under the predictive search, so, relatively speaking, the search does appear to have a z-index: 3.
It’s probably something simple, but I’m stumped. This is on our live site already, but it only happens when you scroll up and the header shrinks. The free shipping bar is static when the header is full, but becomes fixed based on the height of the header when it shrinks. Not sure if that has anything to do with it.
Thanks!

