تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
942 أدوات العرض

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;
}


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
Website Search bar تم الحل
3
أبريل 25
7851
1
سبتمبر 24
1002
1
يوليو 23
1429
3
يناير 24
21011
0
مايو 21
4746