标题菜单阻止了日期选择器显示

时间:2017-05-15 03:14:18

标签: bootstrap-datepicker

我正在使用Minton模板(http://coderthemes.com/minton_2.1/blue_hori/index.html

enter image description here

从上图中可以看出,日期选择器的顶部被固定标题菜单阻止。似乎日期选择器不会自动放置在输入字段的底部。

这是我使用的JS代码。

jQuery('#date-range').datepicker({
    toggleActive: true
});

这发生在较小的屏幕上。正确显示更大的屏幕,并将日期选择器放在输入字段的底部,如下图所示。help i dont know how to resize this image

我不希望菜单阻止datepicker。请帮忙。

1 个答案:

答案 0 :(得分:0)

检查datepicker的z-index。对于datepicker类,css中的z-index应该大于菜单栏。

检查此link for more information about z-index

相关问题