Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
966 Zobrazení

Hello, I'm using Odoo Online and added the search box block to the website I'm currently building but the list of items preview in the dropdown box that appears with the suggested results  gets behind the next block. I tryed applying CSS z-index to the o_dropdown_menu but it doesn't work

Avatar
Zrušit
Autor Nejlepší odpověď

Thanks for your reply but It didn't work. It has something to do with the block where the search box is added. If it's added inside the Cover Snippet. The dropdown list won't render outside the snipped. But if the search box is added inside the Text snippet, the dropdown menu will render outsite the Text snippet. 

I will use another snippet that allow the dropdown to be render outside it self.


Avatar
Zrušit
Nejlepší odpověď

Hello,

You can try with position 

.class-name {
  position: relative;
  z-index: 999;
}


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
dub 25
7876
1
zář 24
1009
1
čvc 23
1471
3
led 24
21031
0
kvě 21
4799