用wpjam插件的朋友记得勾选移除工具栏
今天ytkah在调试页面的时候发现网页一直出现32px高度的空白,非常奇怪,样式如下,全盘查找了关键词也没找到对应的样式文件,后面想到wpjam插件好像有个屏蔽选项,到那边设置一下说不定可以
<style type="text/css" media="print">#wpadminbar { display:none; }</style> <style type="text/css" media="screen"> html { margin-top: 32px !important; } * html body { margin-top: 32px !important; } @media screen and ( max- 782px ) { html { margin-top: 46px !important; } * html body { margin-top: 46px !important; } } </style>
进入wpjam设置界面,清理优化,勾选移除工具栏的单选框,保存,清理缓存,刷新页面,那条空白果然没有了
有碰到相同问题的朋友可以mark一下