Community forum for knowledge and support

Updated 6 months ago

Dropdown list keeps hiding behind sticky section

At a glance

Anyone has an idea on how to solve this? the dropdown list keeps hidding behind the sticky section

Here’s my read only link https://preview.webflow.com/preview/gemini-website?utm_medium=preview_link&utm_source=[…]e&preview=ca622a702b829a08b1a148bf8f49cb5e&workflow=preview

Already tried increasing the z-index but it doesnt work any help is appreciated!

T
V
M
5 comments

Just need to increase the z-index and that should solve it!

Did that. It doesn’t work

the reason its not working though is because both sections are a component - so any change you make to one, will effect the other. You need to stagger the layers there.

The easiest way to do this while maintaining the components would be to wrap each one in a div and giving the top one a larger number z-index than the bottom one. I didnt give them classes but you will want to do that.

Thank you so much This worked!

Add a reply
Sign up and join the conversation on Slack