Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
946 Переглядів

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

Аватар
Відмінити
Автор Найкраща відповідь

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.


Аватар
Відмінити
Найкраща відповідь

Hello,

You can try with position 

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


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
Website Search bar Вирішено
3
квіт. 25
7858
1
вер. 24
1005
1
лип. 23
1447
3
січ. 24
21024
0
трав. 21
4768