separator line?
-
Is there a way to make the separator larger, stand out more, or a line/em dash ?
As is, it’s so small it’s barely distinguishable from the normal leading.
- I tried overriding the CSS in my theme, but since it’s in the wp-admin I guess that won’t work!
- I tried adding 3 separators and it will save in the backend but only 1 separator shows in the frontend
Am I missing something?
Thanks!! This plugin is a lifesaver otherwise from WP menu hell! 🙂
Update: I found a way to do this in functions.php if anyone runs into this. But would still love to know if the developer says there’s a better way!
/*
* Override spacer width in admin menu
*/
function enqueue_custom_admin_styles() {
wp_add_inline_style( 'wp-admin', '
#adminmenu li.wp-menu-separator {height:20px !important;}
' );
}
add_action( 'admin_enqueue_scripts', 'enqueue_custom_admin_styles' );Or if you don’t need it to be wider but want a line, use this css:
#adminmenu li.wp-menu-separator {border-bottom:solid 1px white;}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.