编辑文章页面,修改侧边栏的分类多选框的样式。
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编辑文章页面,修改侧边栏的分类多选框的样式。相关的知识,希望对你有一定的参考价值。
function change_cat_meta_postbox_css(){
?>
<style type="text/css">
.wp-tab-panel, .categorydiv div.tabs-panel,
.customlinkdiv div.tabs-panel,
.posttypediv div.tabs-panel,
.taxonomydiv div.tabs-panel {
min-height: 42px;
max-height: 1000px;/* change this to own wishes */(这个我用到了)
overflow: auto;
padding: 0 0.9em;
border: solid 1px #dfdfdf;
background-color: #fdfdfd;
}
</style><?php
}
add_action(‘admin_head‘, ‘change_cat_meta_postbox_css‘);
以上是关于编辑文章页面,修改侧边栏的分类多选框的样式。的主要内容,如果未能解决你的问题,请参考以下文章