在此站点上,右上角的搜索框不起作用。
我尝试将z-index添加到父元素:
.col-right-one-thirds {
max-width: 22.38033333em;
padding: 1em;
box-sizing: content-box;
float: right;
z-index: 9999;
}
但这不能解决问题。
搜索框是一个Wordpress搜索小部件。
请问该如何解决?
.col-full
由于浮动div.col-right-one-thirds
和div,div覆盖在标题上方.col-left-two-thirds
添加clear: both
到.woocommerce-active .site-header .col-full
.woocommerce-active .site-header .col-full {
position: relative;
clear: both;
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句