Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Ajaxy Live 搜索插件出现显示问题。
当我在主页上搜索某些内容时,它会显示所有帖子结果,如下所示:
在我的主页上
但它应该看起来像这样:
wp-admin 预览
它在 wp-admin 中 ajaxy 实时搜索的预览中正确显示。有没有人知道这个问题是什么原因造成的?
这是我的解决方法(之前忘了发帖):
打开“\wp-content\plugins\ajaxy-search-form\themes\common.css”并找到
.sf_result_container { max-height:200px; overflow:auto; margin-top: 0; margin-bottom: 0; }
我max-height:200px;改为max-height:100%;. 现在实时搜索被扩大到所有搜索结果的末尾,不再重叠。
max-height:200px;
max-height:100%;