简体   繁体   中英

Dropdown menu hides behind images

The dropdown menu of my blog gets behind the image slider on the main page. http://allfacebookgames.blogspot.com/

How do I avoid it so the the dropdown menu is not covered?

For your information, the dropdown menu does not require any javascript and solely depends upon css. Thank you.

This will fix it:

#menu-wrapper {
    position: relative;
    z-index: 40;
}

To show that it works: http://www.csspivot.com/t0Sj3

#menu-wrapper规则上设置position:relativez-index:9999

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM