Editor-style backend CSS

I am looking into changing the backend content creation screen as can be seen in the Beans Child theme today.
From this:


and instead using the Twenty Sixteen editor stylesheet. So it looks like this:


To make the adjustment I went to https://github.com/WordPress/twentysixteen and downloaded the Twenty Sixteen official WordPress theme.
Opened the CSS folder and duplicated editor-style.css into the root of my child theme.

In the child theme functions.php file I added:

// Add support for editor stylesheet - using twenty Sixteens editor stylesheet.
add_editor_style( 'editor-style.css' );

// Remove beans editor styling
beans_remove_action( 'beans_add_editor_assets' );
Filed under: Learning

No comment yet, add your voice below!

Add a Comment

Your email address will not be published. Required fields are marked *

Comment *
Name *
Email *