admin menu, custom colors
-
I’m trying to select a few individual colors for some menu items in the Admin menu
In functions.php of child theme I havefunction railtrail_enqueue_custom_admin_style() { wp_register_style( 'custom_wp_admin_css', get_template_directory_uri() . '/admin-style.css', false, '1.0.0' ); wp_enqueue_style( 'custom_wp_admin_css' ); } add_action( 'admin_enqueue_scripts', 'railtrail_enqueue_custom_admin_style' );
.menu-icon-settings .wp-menu-name { background-color: #006ba1; } .menu-icon-tools .wp-menu-name { background-color: #006ba1; } .menu-icon-users .wp-menu-name { background-color: #006ba1; } .menu-icon-plugins .wp-menu-name { background-color: #006ba1; } .menu-icon-appearance .wp-menu-name { background-color: #006ba1; } .menu-icon-comments .wp-menu-name { background-color: #006ba1; }
This is not working, any pointers would be great
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘admin menu, custom colors’ is closed to new replies.