Streaming live at 10am (PST)

Error positioning and z-index


#1

For details, see the video

https://preview.webflow.com/preview/makebars?preview=7a42e27ddff03a6a93932ca73dd618be


#2

Hi @semenkov, thanks for the report. I will take a look and get back to you as soon as possible! Thanks in advance


#3

Is possible, this will help?
Backups 4 hours ago. No errors.


#4

IMHO there is no bug.

z-index is complicated :slightly_smiling:

I works best at the same level. For example:

div1
   div2 zindex:y
div3 zindex:z

works less well than:

div1 zindex:y
  div2
div3 zindex:z

But here I think the issue is the context. Zindex work in context: in a relative context, or fixed, for example.

In your site, both elements are fixed, but the context may not be fixed. The context of the first element is dictated by its upper parent.

If I'm right, you can't do what you're trying to do without a change of structure.

edit: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context


#5

Ок, but 4 hours ago it was possible and worked. Watch the second video. )))


#6

I made a backup and now everything works as expected ОК !!! )))


#7

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.