Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
948 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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.


Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

You can try with position 

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
kwi 25
7865
1
wrz 24
1005
1
lip 23
1449
3
sty 24
21029
0
maj 21
4777