0

The problem is that I have a select option list in my body just below the bootstrap navbar, and the problem occur when I open select list and the hover over navbar to open its dropdwon, I have tried this solution but it didn't work for me.

enter image description here

.select-style {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    background-image: url(/getmedia/f5d6e976-be64-4f97-b0bf-b4bb2c9ddf15/Dropdown.aspx);
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: 96% center;
}
.select-style {
    border: 1px solid #ececec;
    font-size: 15px;
    font-family: arialRegular;
}
halfer
  • 19,824
  • 17
  • 99
  • 186

2 Answers2

0

you have to give navbar parent class z-index more than select and try to givr z-index in minus to select

Lekhraj
  • 455
  • 4
  • 9
0

.select-style { 
  z-index:initial;
}
Ganesh Putta
  • 2,622
  • 2
  • 19
  • 26