无法用鼠标选择来自输入元素(搜索框)的 HTML

标签 html css

this site ,右上角的搜索框不起作用。

我尝试向父元素添加 z-index:

.col-right-one-thirds {
    max-width: 22.38033333em;
    padding:  1em;
    box-sizing: content-box;
    float: right;
    z-index: 9999;
}

但这并不能解决问题。

搜索框是一个 Wordpress 搜索小部件。

请问我该如何解决?

最佳答案

由于 float div .col-right-one-thirds.col-left-,div .col-full 覆盖在标题之上三分之二

clear: both 添加到 .woocommerce-active .site-header .col-full

.woocommerce-active .site-header .col-full {
    position: relative;
    clear: both;
}

关于无法用鼠标选择来自输入元素(搜索框)的 HTML,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37625980/

相关文章:

html css 粘性等

android - 根据设备屏幕尺寸自动将图像定位在图像上

.net - future 的(Windows)桌面应用开发 : the future of WPF and Silverlight

html - HTML 中的缩进没有不需要的空格

html - 如何使 Flexbox Item 成为超链接?

javascript - 从 JavaScript Canvas 对象创建一个按钮

jquery - Django Endless Pagination Twitter Style - 如何在其他 div 之外获取 div/从其他 div 中获取

javascript - 使用javascript/css将另一个div拖到它上面时如何使div的特定部分变灰

javascript - 添加新元素时使子元素调整大小

css - 如何使争鸣与 body 平等