我的自定义程序中有主题自定义功能。php文件:
function mytheme_customize_register( $wp_customize ) {
$wp_customize->get_setting( \'blogname\' )->transport = \'postMessage\';
$wp_customize->get_setting( \'blogdescription\' )->transport = \'postMessage\';
$wp_customize->get_setting( \'header_textcolor\' )->transport = \'postMessage\';
}
但我无法使用主题定制器更改header\\u textcolor。如何在主题中使用标题文本颜色值?我的标题css:
.navbar-default .navbar-nav>.active>a {
color: #777;
background-color: transparent;
}