Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1020 มุมมอง

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
8003
1
ก.ย. 24
1060
1
ก.ค. 23
1514
Enable google search console แก้ไขแล้ว
3
ม.ค. 24
21115
0
พ.ค. 21
4859